Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00216/0.00216, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.703/1.703, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 67.88 kB / 373.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.153, allocations: 53.31 MB / 427.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.004104/0.1571, allocations: 1.603 MB / 428.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1587, allocations: 0.5727 MB / 429.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1588, allocations: 0 / 429.3 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.017e-05/0.1589, allocations: 11.88 kB / 429.3 MB, free: 2.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.1591, allocations: 7.922 kB / 429.4 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004973/0.1596, allocations: 63.75 kB / 429.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1597, allocations: 59.77 kB / 429.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.1599, allocations: 12.12 kB / 429.5 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1601, allocations: 23.92 kB / 429.5 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.836e-05/0.1601, allocations: 23.86 kB / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1602, allocations: 0 / 429.5 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.1602, allocations: 15.98 kB / 429.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.873e-05/0.1603, allocations: 15.92 kB / 429.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.569e-05/0.1603, allocations: 23.81 kB / 429.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.1606, allocations: 63.61 kB / 429.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1606, allocations: 0 / 429.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1606, allocations: 8 kB / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1606, allocations: 0 / 429.7 MB, free: 1.949 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006946/0.1613, allocations: 381.8 kB / 430 MB, free: 1.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/0.1613, allocations: 12.03 kB / 430 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.1616, allocations: 16.88 kB / 430.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.162, allocations: 211.5 kB / 430.3 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.162, allocations: 8.375 kB / 430.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.162, allocations: 7.938 kB / 430.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.1624, allocations: 109.9 kB / 430.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1624, allocations: 3.938 kB / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1624, allocations: 0 / 430.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1624, allocations: 4 kB / 430.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.1625, allocations: 19.98 kB / 430.4 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005074/0.163, allocations: 282.5 kB / 430.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.1632, allocations: 67.78 kB / 430.8 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.806e-05/0.1633, allocations: 30.64 kB / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.1633, allocations: 0 / 430.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/0.1633, allocations: 42.55 kB / 430.8 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1633, allocations: 4 kB / 430.8 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003544/0.1637, allocations: 89.45 kB / 430.9 MB, free: 488 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.1638, allocations: 106.8 kB / 431 MB, free: 356 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.164, allocations: 149.8 kB / 431.2 MB, free: 196 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.1641, allocations: 25.7 kB / 431.2 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.1642, allocations: 84.52 kB / 431.3 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1642, allocations: 8 kB / 431.3 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.1642, allocations: 21.67 kB / 431.3 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1644, allocations: 318.8 kB / 431.6 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.1645, allocations: 7.984 kB / 431.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.1645, allocations: 35.42 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1647, allocations: 51.36 kB / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1647, allocations: 0 / 431.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001785/0.1649, allocations: 73.55 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.1649, allocations: 8.125 kB / 431.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1649, allocations: 7.938 kB / 431.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.1649, allocations: 0 / 431.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.165, allocations: 11.98 kB / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.165, allocations: 0 / 431.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.173e-05/0.1651, allocations: 11.88 kB / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.1651, allocations: 0 / 431.8 MB, free: 15.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001404/0.1652, allocations: 125.8 kB / 431.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1653, allocations: 57.58 kB / 432 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.1654, allocations: 15.86 kB / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1654, allocations: 0 / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1654, allocations: 0 / 432 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1654, allocations: 7.938 kB / 432 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.1657, allocations: 165.7 kB / 432.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1657, allocations: 4 kB / 432.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.5e-05/0.1657, allocations: 11.98 kB / 432.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1657, allocations: 0 / 432.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.1657, allocations: 0 / 432.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1657, allocations: 0 / 432.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.1657, allocations: 11.97 kB / 432.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.166, allocations: 177.1 kB / 432.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.1661, allocations: 89.05 kB / 432.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1661, allocations: 8 kB / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.1662, allocations: 3.984 kB / 432.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.1662, allocations: 7.938 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1662, allocations: 4 kB / 432.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1663, allocations: 114.4 kB / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1663, allocations: 0 / 432.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1666, allocations: 4 kB / 432.6 MB, free: 14.58 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001473/0.1667, allocations: 99.25 kB / 432.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.1669, allocations: 35.98 kB / 432.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1669, allocations: 0 / 432.7 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.028e-05/0.1669, allocations: 11.92 kB / 432.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.1674, allocations: 28.02 kB / 432.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.1678, allocations: 184.7 kB / 433 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.1682, allocations: 0.7002 MB / 433.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.1683, allocations: 4 kB / 433.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.1683, allocations: 11.42 kB / 433.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1683, allocations: 7.938 kB / 433.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of Templates: time 0.003884/0.1722, allocations: 0.5905 MB / 434.3 MB, free: 12.86 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.11238625459373]