Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 95.89 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002367/0.002367, allocations: 180.4 kB / 16.61 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 222.8 MB, free: 5.898 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.076/0.076, allocations: 12.59 MB / 283.6 MB, free: 8.941 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 23.98 kB / 344.5 MB, free: 21.31 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1347, allocations: 50.39 MB / 394.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.00176/0.1365, allocations: 1.295 MB / 396.2 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009564/0.1375, allocations: 0.5701 MB / 396.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1376, allocations: 3.938 kB / 396.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.503e-05/0.1377, allocations: 3.938 kB / 396.8 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1379, allocations: 27.89 kB / 396.8 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1382, allocations: 59.81 kB / 396.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1383, allocations: 47.88 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.967e-05/0.1384, allocations: 20.2 kB / 396.9 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.716e-05/0.1385, allocations: 27.91 kB / 396.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.881e-05/0.1386, allocations: 27.86 kB / 397 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1386, allocations: 0 / 397 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.76e-05/0.1386, allocations: 4 kB / 397 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.878e-05/0.1387, allocations: 19.91 kB / 397 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.1387, allocations: 41.64 kB / 397 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.162e-05/0.1388, allocations: 55.83 kB / 397.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1388, allocations: 4 kB / 397.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1388, allocations: 0 / 397.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.1389, allocations: 0 / 397.1 MB, free: 0.6016 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005624/0.1394, allocations: 391.3 kB / 397.5 MB, free: 176 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.1395, allocations: 8.031 kB / 397.5 MB, free: 168 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.1395, allocations: 11.81 kB / 397.5 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1398, allocations: 210.7 kB / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1398, allocations: 0 / 397.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.1398, allocations: 16 kB / 397.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.1403, allocations: 211 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1403, allocations: 3.938 kB / 397.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.1403, allocations: 11.98 kB / 397.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.1403, allocations: 3.938 kB / 397.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.1405, allocations: 47.97 kB / 398 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1409, allocations: 302.4 kB / 398.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.1411, allocations: 99.89 kB / 398.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1411, allocations: 8.047 kB / 398.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1412, allocations: 38.55 kB / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.263e-06/0.1412, allocations: 0 / 398.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004106/0.1416, allocations: 149.5 kB / 398.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.1417, allocations: 118.7 kB / 398.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1418, allocations: 149.7 kB / 398.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1418, allocations: 29.7 kB / 398.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1419, allocations: 92.05 kB / 399 MB, free: 14.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.1419, allocations: 15.89 kB / 399 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1419, allocations: 0 / 399 MB, free: 14.47 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.142, allocations: 318.8 kB / 399.3 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.1421, allocations: 23.98 kB / 399.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/0.1422, allocations: 85.44 kB / 399.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.1423, allocations: 39.92 kB / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1423, allocations: 0 / 399.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002094/0.1425, allocations: 141.3 kB / 399.6 MB, free: 13.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1425, allocations: 8 kB / 399.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1425, allocations: 0 / 399.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1425, allocations: 4 kB / 399.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1426, allocations: 24.48 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1427, allocations: 7.938 kB / 399.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.1427, allocations: 16.3 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.1428, allocations: 8 kB / 399.6 MB, free: 13.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.1429, allocations: 140.6 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.1431, allocations: 105.4 kB / 399.9 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/0.1431, allocations: 12.31 kB / 399.9 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1431, allocations: 4 kB / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1431, allocations: 0 / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1431, allocations: 3.984 kB / 399.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.1433, allocations: 189.6 kB / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1433, allocations: 4 kB / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.1434, allocations: 19.98 kB / 400.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1435, allocations: 4 kB / 400.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.1435, allocations: 3.984 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1435, allocations: 3.938 kB / 400.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1435, allocations: 4 kB / 400.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1438, allocations: 244.5 kB / 400.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.375e-05/0.1439, allocations: 101 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.1439, allocations: 7.938 kB / 400.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.144, allocations: 8 kB / 400.5 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.144, allocations: 7.938 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.144, allocations: 8 kB / 400.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.767e-05/0.1441, allocations: 107.9 kB / 400.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1441, allocations: 0 / 400.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1444, allocations: 16 kB / 400.6 MB, free: 12.67 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001/0.1445, allocations: 103.1 kB / 400.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1447, allocations: 88.52 kB / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1447, allocations: 0 / 400.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.1448, allocations: 15.98 kB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1451, allocations: 56.44 kB / 400.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005975/0.1457, allocations: 283.2 kB / 401.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.146, allocations: 0.7043 MB / 401.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.913e-05/0.1461, allocations: 12.55 kB / 401.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.878e-05/0.1461, allocations: 19.44 kB / 401.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1461, allocations: 0 / 401.9 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Templates: time 0.002978/0.1491, allocations: 0.8324 MB / 402.7 MB, free: 10.5 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches