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.001381/0.001381, allocations: 104 kB / 16.45 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 192.7 kB / 17.39 MB, free: 5.668 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.725/1.725, allocations: 205.1 MB / 223.3 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0928/0.0928, allocations: 12.59 MB / 283.2 MB, free: 15.38 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.001883/0.001884, allocations: 94.48 kB / 394.2 MB, free: 45.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1291, allocations: 49.41 MB / 443.6 MB, free: 468 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.0045/0.1337, allocations: 1.598 MB / 445.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.1353, allocations: 0.5969 MB / 445.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1355, allocations: 3.938 kB / 445.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.606e-05/0.1356, allocations: 7.922 kB / 445.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004259/0.136, allocations: 39.78 kB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1364, allocations: 71.8 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.1366, allocations: 71.78 kB / 446 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.1368, allocations: 32.11 kB / 446 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.1369, allocations: 27.92 kB / 446 MB, free: 14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1371, allocations: 43.77 kB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1371, allocations: 4 kB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.1371, allocations: 4 kB / 446.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.001e-05/0.1372, allocations: 27.92 kB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.1373, allocations: 35.73 kB / 446.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.1375, allocations: 79.66 kB / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1375, allocations: 0 / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1375, allocations: 0 / 446.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1375, allocations: 0 / 446.2 MB, free: 13.8 MB / 334.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.0007466/0.1383, allocations: 403.1 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1384, allocations: 8.031 kB / 446.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1384, allocations: 12.84 kB / 446.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.1388, allocations: 216 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.1389, allocations: 4.312 kB / 446.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1389, allocations: 12.38 kB / 446.9 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.1396, allocations: 222 kB / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1396, allocations: 0 / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1396, allocations: 3.938 kB / 447.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1396, allocations: 4 kB / 447.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.1399, allocations: 47.91 kB / 447.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.1404, allocations: 302.5 kB / 447.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1407, allocations: 95.95 kB / 447.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1409, allocations: 62.55 kB / 447.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.1409, allocations: 0 / 447.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.141, allocations: 38.5 kB / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.141, allocations: 0 / 447.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005872/0.1416, allocations: 145.5 kB / 447.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.1417, allocations: 118.8 kB / 447.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.1419, allocations: 141.8 kB / 448 MB, free: 11.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.1419, allocations: 25.7 kB / 448 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.142, allocations: 92.14 kB / 448.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.1421, allocations: 7.891 kB / 448.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-05/0.1421, allocations: 25.72 kB / 448.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1423, allocations: 322.8 kB / 448.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.1424, allocations: 27.92 kB / 448.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.1426, allocations: 89.38 kB / 448.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.1428, allocations: 121.2 kB / 448.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.1428, allocations: 4 kB / 448.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003349/0.1432, allocations: 133.2 kB / 448.8 MB, free: 10.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.1432, allocations: 8.328 kB / 448.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1432, allocations: 8 kB / 448.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.1433, allocations: 4 kB / 448.9 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1434, allocations: 23.92 kB / 448.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.1435, allocations: 4 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.935e-05/0.1436, allocations: 4 kB / 448.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.1436, allocations: 12 kB / 448.9 MB, free: 10.77 MB / 334.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 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$CLKPRE.superSampleIpo.first,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.1438, allocations: 141.6 kB / 449 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.144, allocations: 94.14 kB / 449.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1441, allocations: 12.31 kB / 449.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1441, allocations: 8 kB / 449.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1441, allocations: 0 / 449.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1442, allocations: 0 / 449.2 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1444, allocations: 193.5 kB / 449.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1445, allocations: 0 / 449.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1446, allocations: 27.92 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1447, allocations: 0 / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.1447, allocations: 7.984 kB / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1447, allocations: 0 / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1447, allocations: 0 / 449.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.1451, allocations: 240.8 kB / 449.6 MB, free: 9.969 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.1452, allocations: 104.9 kB / 449.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.1453, allocations: 0 / 449.7 MB, free: 9.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1454, allocations: 4 kB / 449.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1455, allocations: 0 / 449.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.1455, allocations: 15.98 kB / 449.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.1457, allocations: 111.9 kB / 449.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1457, allocations: 0 / 449.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.1461, allocations: 16 kB / 449.9 MB, free: 9.703 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.1463, allocations: 95.23 kB / 450 MB, free: 9.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003526/0.1467, allocations: 80.41 kB / 450 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1467, allocations: 4.125 kB / 450 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.1468, allocations: 7.984 kB / 450 MB, free: 9.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.1474, allocations: 67.78 kB / 450.1 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.1485, allocations: 253.1 kB / 450.4 MB, free: 9.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.149, allocations: 0.708 MB / 451.1 MB, free: 8.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.111e-05/0.149, allocations: 8.547 kB / 451.1 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.56e-05/0.1491, allocations: 15.44 kB / 451.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1491, allocations: 3.938 kB / 451.1 MB, free: 8.398 MB / 334.1 MB Notification: Performance of Templates: time 0.005981/0.1551, allocations: 0.997 MB / 452.1 MB, free: 7.402 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches