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.002052/0.002052, allocations: 110.2 kB / 17.16 MB, free: 6.324 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.002083/0.002083, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.704/2.704, allocations: 222.9 MB / 241.8 MB, free: 13.81 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 41.38 kB / 300.6 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1382, allocations: 49.46 MB / 350.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.004428/0.1427, allocations: 1.651 MB / 351.7 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.1441, allocations: 0.5533 MB / 352.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.1443, allocations: 7.875 kB / 352.3 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.098e-05/0.1445, allocations: 19.86 kB / 352.3 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004062/0.1449, allocations: 23.91 kB / 352.3 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003969/0.1453, allocations: 63.88 kB / 352.4 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1455, allocations: 63.84 kB / 352.4 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1456, allocations: 16.22 kB / 352.5 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1457, allocations: 31.8 kB / 352.5 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.56e-05/0.1459, allocations: 39.83 kB / 352.5 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.1459, allocations: 8 kB / 352.5 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.197e-05/0.1459, allocations: 4 kB / 352.5 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.326e-05/0.146, allocations: 15.92 kB / 352.6 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.1461, allocations: 35.73 kB / 352.6 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.1462, allocations: 59.84 kB / 352.7 MB, free: 2.051 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1462, allocations: 3.984 kB / 352.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1462, allocations: 0 / 352.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1462, allocations: 0 / 352.7 MB, free: 2.047 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.0008413/0.1471, allocations: 395.4 kB / 353 MB, free: 1.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.1472, allocations: 12.03 kB / 353.1 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.1473, allocations: 16.75 kB / 353.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1476, allocations: 208.1 kB / 353.3 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.1476, allocations: 8.375 kB / 353.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1477, allocations: 4.375 kB / 353.3 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.1482, allocations: 228.5 kB / 353.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1483, allocations: 0 / 353.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1483, allocations: 0 / 353.5 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1483, allocations: 3.938 kB / 353.5 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.1485, allocations: 51.91 kB / 353.6 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.149, allocations: 286.6 kB / 353.8 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1493, allocations: 103.8 kB / 353.9 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.1494, allocations: 62.67 kB / 354 MB, free: 0.5 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1495, allocations: 4 kB / 354 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1495, allocations: 34.56 kB / 354 MB, free: 464 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1495, allocations: 0 / 354 MB, free: 464 kB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005419/0.1501, allocations: 149.4 kB / 354.2 MB, free: 308 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/0.1502, allocations: 118.9 kB / 354.3 MB, free: 164 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1504, allocations: 140.9 kB / 354.4 MB, free: 16 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/0.1505, allocations: 29.7 kB / 354.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.1506, allocations: 88.14 kB / 354.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.1506, allocations: 19.83 kB / 354.6 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.195e-05/0.1507, allocations: 29.62 kB / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.1509, allocations: 322.8 kB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.151, allocations: 19.98 kB / 354.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001284/0.1511, allocations: 93.31 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.1514, allocations: 129.2 kB / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1514, allocations: 0 / 355.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.1517, allocations: 125.4 kB / 355.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.1517, allocations: 8.344 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1517, allocations: 4 kB / 355.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.1517, allocations: 4 kB / 355.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1519, allocations: 27.92 kB / 355.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1519, allocations: 4.5 kB / 355.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.04e-05/0.152, allocations: 8 kB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.152, allocations: 7.938 kB / 355.3 MB, free: 15.02 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.0001588/0.1522, allocations: 141.2 kB / 355.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.1524, allocations: 97.52 kB / 355.6 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.1525, allocations: 20.31 kB / 355.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1525, allocations: 0 / 355.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.1525, allocations: 4 kB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1525, allocations: 3.984 kB / 355.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.1528, allocations: 189.4 kB / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1528, allocations: 0 / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1529, allocations: 19.98 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.153, allocations: 4 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.153, allocations: 3.984 kB / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.153, allocations: 0 / 355.8 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.153, allocations: 4 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1533, allocations: 225 kB / 356 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.219e-05/0.1534, allocations: 104.9 kB / 356.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1535, allocations: 4 kB / 356.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1536, allocations: 4 kB / 356.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.1536, allocations: 7.984 kB / 356.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1537, allocations: 8 kB / 356.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.897e-05/0.1538, allocations: 103.3 kB / 356.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1538, allocations: 0 / 356.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.1541, allocations: 19.98 kB / 356.3 MB, free: 13.96 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.0001565/0.1542, allocations: 107.1 kB / 356.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1545, allocations: 76.53 kB / 356.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1545, allocations: 0 / 356.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.1546, allocations: 15.92 kB / 356.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.1551, allocations: 63.88 kB / 356.5 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.156, allocations: 329 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.1565, allocations: 0.7043 MB / 357.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.1566, allocations: 15.44 kB / 357.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1566, allocations: 3.938 kB / 357.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of Templates: time 0.003956/0.1605, allocations: 1.168 MB / 358.8 MB, free: 11.43 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSampleInterpolated/SuperSampleInterpolated.csv","/var/lib/jenkins1/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