Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 119.1 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 254.8 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 43.94 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1375, allocations: 53.34 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.004937/0.1424, allocations: 1.897 MB / 429.4 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.1458, allocations: 1.309 MB / 430.7 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.146, allocations: 7.938 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.1464, allocations: 67.66 kB / 430.8 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005605/0.1469, allocations: 135.4 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009998/0.1479, allocations: 226.6 kB / 431.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003703/0.1483, allocations: 179.5 kB / 431.3 MB, free: 468 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1485, allocations: 21.55 kB / 431.3 MB, free: 448 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1486, allocations: 83.56 kB / 431.4 MB, free: 364 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1488, allocations: 87.66 kB / 431.5 MB, free: 276 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.1488, allocations: 8 kB / 431.5 MB, free: 268 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.1491, allocations: 67.97 kB / 431.6 MB, free: 200 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1492, allocations: 59.75 kB / 431.6 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.1493, allocations: 79.42 kB / 431.7 MB, free: 60 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.1498, allocations: 243 kB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1499, allocations: 0 / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1499, allocations: 0 / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1499, allocations: 0 / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001073/0.1509, allocations: 0.5425 MB / 432.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.151, allocations: 12.03 kB / 432.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.366e-05/0.1511, allocations: 28.78 kB / 432.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006084/0.1517, allocations: 291.8 kB / 432.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.1517, allocations: 8.375 kB / 432.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.1517, allocations: 8.125 kB / 432.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.1522, allocations: 159.6 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1522, allocations: 3.938 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.1523, allocations: 4 kB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.1523, allocations: 7.984 kB / 433 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.1525, allocations: 31.97 kB / 433 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007863/0.1532, allocations: 398.3 kB / 433.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.1536, allocations: 107.9 kB / 433.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.1538, allocations: 46.56 kB / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.1538, allocations: 0 / 433.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.1541, allocations: 83.31 kB / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.1541, allocations: 0 / 433.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006109/0.1547, allocations: 153.7 kB / 433.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.1548, allocations: 162.2 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.1554, allocations: 330.7 kB / 434.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.1554, allocations: 33.69 kB / 434.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1556, allocations: 132 kB / 434.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.1556, allocations: 15.91 kB / 434.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.24e-05/0.1557, allocations: 29.7 kB / 434.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.1559, allocations: 346.7 kB / 434.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1561, allocations: 23.98 kB / 434.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/0.1562, allocations: 78.86 kB / 434.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.1565, allocations: 92.47 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1565, allocations: 3.984 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003895/0.1569, allocations: 125.4 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1569, allocations: 8 kB / 435.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1569, allocations: 0 / 435.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1569, allocations: 4.125 kB / 435.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.1571, allocations: 19.98 kB / 435.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1571, allocations: 4 kB / 435.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.1572, allocations: 11.88 kB / 435.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1573, allocations: 4 kB / 435.2 MB, free: 12.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.000211/0.1575, allocations: 157.8 kB / 435.3 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1576, allocations: 65.52 kB / 435.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.691e-05/0.1577, allocations: 25.7 kB / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1577, allocations: 8.062 kB / 435.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1577, allocations: 3.938 kB / 435.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1577, allocations: 3.938 kB / 435.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.1581, allocations: 241.6 kB / 435.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1581, allocations: 4 kB / 435.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.392e-05/0.1582, allocations: 15.92 kB / 435.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.1582, allocations: 0 / 435.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1582, allocations: 7.938 kB / 435.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1582, allocations: 0 / 435.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1582, allocations: 3.984 kB / 435.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.1586, allocations: 174.6 kB / 435.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.1588, allocations: 113 kB / 436 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.1588, allocations: 11.98 kB / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1589, allocations: 0 / 436 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.159, allocations: 7.984 kB / 436 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.159, allocations: 11.94 kB / 436 MB, free: 11.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003936/0.1594, allocations: 249.9 kB / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 436.3 MB, free: 11.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.1599, allocations: 39.92 kB / 436.3 MB, free: 10.99 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002191/0.1621, allocations: 424.9 kB / 436.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003321/0.1624, allocations: 71.91 kB / 436.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1624, allocations: 4.25 kB / 436.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1625, allocations: 23.98 kB / 436.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.1631, allocations: 65.34 kB / 436.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.164, allocations: 402.5 kB / 437.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005318/0.1646, allocations: 0.7516 MB / 438 MB, free: 9.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1646, allocations: 19.44 kB / 438 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1646, allocations: 0 / 438 MB, free: 9.332 MB / 366.1 MB Notification: Performance of Templates: time 0.007557/0.1722, allocations: 2.959 MB / 441 MB, free: 6.383 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 7.687765389011474]