Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 78.19 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 151.7 kB / 24.81 MB, free: 9.34 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.986/0.986, allocations: 173.3 MB / 201.4 MB, free: 9.23 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.194e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.002591/0.002603, allocations: 1.921 MB / 270.3 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.003858, allocations: 1.032 MB / 271.4 MB, free: 3.242 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.00396, allocations: 7.938 kB / 271.4 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004864/0.004446, allocations: 159.4 kB / 271.5 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.004631, allocations: 115.5 kB / 271.6 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.004944, allocations: 215.2 kB / 271.8 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.005115, allocations: 171.5 kB / 272 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.005202, allocations: 21.8 kB / 272 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.005308, allocations: 99.67 kB / 272.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.712e-05/0.005406, allocations: 67.8 kB / 272.2 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.005431, allocations: 15.98 kB / 272.2 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.942e-05/0.005531, allocations: 51.91 kB / 272.3 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.005588, allocations: 51.83 kB / 272.3 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.005627, allocations: 35.86 kB / 272.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.005822, allocations: 163.3 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.005823, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.005824, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.005827, allocations: 0 / 272.5 MB, free: 2.086 MB / 250.7 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.0004773/0.006305, allocations: 0.5323 MB / 273 MB, free: 1.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.00634, allocations: 23.91 kB / 273.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.006386, allocations: 20.84 kB / 273.1 MB, free: 1.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.006585, allocations: 220.4 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.0066, allocations: 4.375 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.00661, allocations: 4.375 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.006797, allocations: 132.1 kB / 273.4 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.006806, allocations: 7.938 kB / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.006814, allocations: 3.984 kB / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.006821, allocations: 3.984 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.006856, allocations: 27.91 kB / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002741/0.00713, allocations: 307.7 kB / 273.8 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.007231, allocations: 105.3 kB / 273.9 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/0.007266, allocations: 46.98 kB / 273.9 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.007282, allocations: 4 kB / 273.9 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.675e-05/0.007369, allocations: 77.03 kB / 274 MB, free: 400 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.00737, allocations: 3.938 kB / 274 MB, free: 396 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000167/0.007537, allocations: 105.5 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.00758, allocations: 106.8 kB / 274.2 MB, free: 152 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.007736, allocations: 280.2 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.007751, allocations: 29.7 kB / 274.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.746e-05/0.007819, allocations: 163.1 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.007842, allocations: 27.81 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.007877, allocations: 27.38 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.008006, allocations: 0.504 MB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.008022, allocations: 7.984 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.008059, allocations: 64.69 kB / 275.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.008096, allocations: 35.38 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.008098, allocations: 3.938 kB / 275.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.911e-05/0.008177, allocations: 85.42 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.008187, allocations: 4 kB / 275.4 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008192, allocations: 8.062 kB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.008201, allocations: 0 / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.008248, allocations: 11.98 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.008251, allocations: 0 / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.008284, allocations: 4 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.008289, allocations: 4 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.515e-05/0.008364, allocations: 168.5 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.00841, allocations: 61.53 kB / 275.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.008519, allocations: 87.39 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.008521, allocations: 8.375 kB / 275.8 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.008524, allocations: 3.984 kB / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.008527, allocations: 0 / 275.8 MB, free: 14.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.008628, allocations: 145.1 kB / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.008629, allocations: 0 / 275.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.008646, allocations: 12 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008649, allocations: 3.938 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.008655, allocations: 3.984 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.008656, allocations: 4 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008656, allocations: 0 / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.008753, allocations: 143.6 kB / 276.1 MB, free: 14.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.008791, allocations: 31.83 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.008809, allocations: 7.938 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.938e-05/0.008839, allocations: 8 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.008862, allocations: 3.984 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.008871, allocations: 4 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.081e-05/0.008952, allocations: 193.1 kB / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008952, allocations: 0 / 276.3 MB, free: 13.87 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.009097, allocations: 27.94 kB / 276.4 MB, free: 13.84 MB / 266.7 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0007537/0.00985, allocations: 409.6 kB / 276.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.022e-05/0.00993, allocations: 43.61 kB / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.009932, allocations: 0 / 276.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.009963, allocations: 35.66 kB / 276.8 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.01018, allocations: 59.98 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.01077, allocations: 294 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.01081, allocations: 75.83 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.01085, allocations: 21.61 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.01093, allocations: 98.36 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01093, allocations: 4 kB / 277.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of Templates: time 0.004118/0.01505, allocations: 2.782 MB / 280.2 MB, free: 10.16 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8268050709739327]