Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSampleIpo.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.0007342/0.0007343, allocations: 95.23 kB / 16.65 MB, free: 6.535 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.0007852/0.0007854, allocations: 175.4 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003487, allocations: 9.531 kB / 301.4 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 50.41 MB / 351.8 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002347/0.1465, allocations: 1.319 MB / 353.2 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.1477, allocations: 0.5416 MB / 353.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1479, allocations: 3.938 kB / 353.7 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.387e-05/0.148, allocations: 7.922 kB / 353.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.1484, allocations: 23.92 kB / 353.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.1488, allocations: 67.86 kB / 353.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.149, allocations: 63.78 kB / 353.9 MB, free: 1.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.1492, allocations: 16.23 kB / 353.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1493, allocations: 35.78 kB / 353.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.392e-05/0.1494, allocations: 35.84 kB / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.1495, allocations: 0 / 353.9 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/0.1495, allocations: 4 kB / 354 MB, free: 1.305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.1496, allocations: 19.91 kB / 354 MB, free: 1.285 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.1497, allocations: 61.44 kB / 354 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1498, allocations: 75.69 kB / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1499, allocations: 0 / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.1499, allocations: 0 / 354.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1499, allocations: 4 kB / 354.1 MB, free: 1.141 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.0006346/0.1505, allocations: 383.4 kB / 354.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.1506, allocations: 12.03 kB / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.051e-05/0.1506, allocations: 16.75 kB / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1509, allocations: 210.7 kB / 354.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.1509, allocations: 4.375 kB / 354.7 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.151, allocations: 8.375 kB / 354.7 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.1515, allocations: 221.2 kB / 354.9 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.1515, allocations: 8 kB / 355 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.1515, allocations: 4 kB / 355 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1516, allocations: 0 / 355 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.1518, allocations: 55.89 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.1522, allocations: 294.7 kB / 355.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.1525, allocations: 103.9 kB / 355.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.1526, allocations: 58.59 kB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-05/0.1527, allocations: 15.88 kB / 355.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.1527, allocations: 34.56 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.1527, allocations: 0 / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005531/0.1533, allocations: 153.5 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.1534, allocations: 118.9 kB / 355.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1536, allocations: 137.8 kB / 355.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.1537, allocations: 25.7 kB / 355.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.427e-05/0.1537, allocations: 96.12 kB / 356 MB, free: 14.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.1538, allocations: 15.78 kB / 356 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.1538, allocations: 17.7 kB / 356.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.154, allocations: 318.8 kB / 356.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.287e-05/0.1541, allocations: 23.98 kB / 356.4 MB, free: 14.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.1542, allocations: 90.67 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.1544, allocations: 129.2 kB / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1544, allocations: 0 / 356.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002388/0.1546, allocations: 137.3 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1547, allocations: 8 kB / 356.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1547, allocations: 4 kB / 356.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1547, allocations: 0 / 356.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1548, allocations: 31.92 kB / 356.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.1548, allocations: 4 kB / 356.8 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.796e-05/0.1549, allocations: 11.98 kB / 356.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1549, allocations: 4.312 kB / 356.8 MB, free: 14.1 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 ($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.0001323/0.1551, allocations: 133.7 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.1553, allocations: 101.5 kB / 357 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.981e-05/0.1553, allocations: 16.3 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1553, allocations: 0 / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.1554, allocations: 4 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1554, allocations: 3.938 kB / 357.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.1556, allocations: 193.4 kB / 357.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1556, allocations: 0 / 357.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1557, allocations: 27.98 kB / 357.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1557, allocations: 0 / 357.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.1557, allocations: 4 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.1558, allocations: 8.609 kB / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1558, allocations: 0 / 357.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.1561, allocations: 236.9 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/0.1562, allocations: 97 kB / 357.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1562, allocations: 8 kB / 357.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.1563, allocations: 7.984 kB / 357.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/0.1564, allocations: 0 / 357.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.1564, allocations: 4 kB / 357.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.192e-05/0.1565, allocations: 113.8 kB / 357.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1565, allocations: 3.938 kB / 357.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1567, allocations: 16 kB / 357.8 MB, free: 13.03 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 (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.000139/0.1569, allocations: 107.2 kB / 357.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.1571, allocations: 87.77 kB / 358 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1571, allocations: 0 / 358 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.513e-05/0.1572, allocations: 20.62 kB / 358 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000487/0.1577, allocations: 58.94 kB / 358 MB, free: 12.76 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.1584, allocations: 295.4 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1587, allocations: 0.7082 MB / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.1588, allocations: 12.53 kB / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.1588, allocations: 11.44 kB / 359.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1588, allocations: 0 / 359.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of Templates: time 0.00381/0.1626, allocations: 0.8698 MB / 359.9 MB, free: 10.81 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches