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.0009705/0.0009705, allocations: 83.89 kB / 21.18 MB, free: 3.391 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.000934/0.000934, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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.9824/0.9824, allocations: 173.4 MB / 201.1 MB, free: 9 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 2.495e-06/2.495e-06, allocations: 3.938 kB / 268 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.744e-05, allocations: 6.312 kB / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.004151/0.004189, allocations: 1.924 MB / 269.9 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.006415, allocations: 1.048 MB / 271 MB, free: 3.309 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.006615, allocations: 7.938 kB / 271 MB, free: 3.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.007364, allocations: 159.4 kB / 271.1 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003656/0.007729, allocations: 115.5 kB / 271.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.008393, allocations: 207.3 kB / 271.4 MB, free: 2.828 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.008712, allocations: 183.4 kB / 271.6 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.008857, allocations: 25.78 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001765/0.009034, allocations: 95.72 kB / 271.7 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.009188, allocations: 67.8 kB / 271.8 MB, free: 2.461 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.009218, allocations: 8 kB / 271.8 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.009406, allocations: 59.83 kB / 271.9 MB, free: 2.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.203e-05/0.009498, allocations: 47.84 kB / 271.9 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.908e-05/0.009577, allocations: 35.86 kB / 272 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.009931, allocations: 171.3 kB / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.009937, allocations: 0 / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.009939, allocations: 0 / 272.1 MB, free: 2.145 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.009946, allocations: 3.938 kB / 272.1 MB, free: 2.141 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.0007621/0.01071, allocations: 0.5324 MB / 272.7 MB, free: 1.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.01076, allocations: 8.031 kB / 272.7 MB, free: 1.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.252e-05/0.01084, allocations: 20.84 kB / 272.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.01119, allocations: 232.3 kB / 272.9 MB, free: 1.281 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.01122, allocations: 4.375 kB / 272.9 MB, free: 1.277 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.01124, allocations: 8.359 kB / 272.9 MB, free: 1.27 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.01161, allocations: 136.6 kB / 273.1 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.01162, allocations: 3.938 kB / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.01163, allocations: 0 / 273.1 MB, free: 1.105 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.01164, allocations: 4 kB / 273.1 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.592e-05/0.01172, allocations: 27.91 kB / 273.1 MB, free: 1.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004966/0.01222, allocations: 343.1 kB / 273.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.0124, allocations: 113.3 kB / 273.5 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.01247, allocations: 39.05 kB / 273.6 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.01249, allocations: 7.938 kB / 273.6 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.01264, allocations: 69.05 kB / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/0.01265, allocations: 0 / 273.7 MB, free: 416 kB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003238/0.01297, allocations: 121.8 kB / 273.8 MB, free: 288 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.01305, allocations: 110.8 kB / 273.9 MB, free: 152 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.01334, allocations: 284.3 kB / 274.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.01336, allocations: 29.7 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.01348, allocations: 166.9 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.01352, allocations: 19.84 kB / 274.4 MB, free: 15.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.01357, allocations: 27.38 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.01375, allocations: 0.5001 MB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.697e-05/0.01379, allocations: 12 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.01385, allocations: 64.81 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.923e-05/0.01392, allocations: 51.44 kB / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01392, allocations: 0 / 275 MB, free: 14.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000142/0.01407, allocations: 77.55 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.01409, allocations: 8 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.01409, allocations: 0 / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.01411, allocations: 3.984 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.0142, allocations: 11.94 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01421, allocations: 4 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.01426, allocations: 4 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.01427, allocations: 8.031 kB / 275.1 MB, free: 14.81 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 0.0001152/0.01438, allocations: 172.4 kB / 275.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.418e-05/0.01448, allocations: 57.55 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.01468, allocations: 95.44 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.01468, allocations: 0 / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.01469, allocations: 0 / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.0147, allocations: 4 kB / 275.5 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.01487, allocations: 184.4 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01487, allocations: 4 kB / 275.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.889e-05/0.01491, allocations: 12 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01492, allocations: 0 / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.01493, allocations: 4 kB / 275.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.01493, allocations: 4.062 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01494, allocations: 0 / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.01514, allocations: 163.6 kB / 275.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.01521, allocations: 35.84 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.01525, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.01531, allocations: 8 kB / 275.9 MB, free: 13.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.01536, allocations: 7.984 kB / 275.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.01537, allocations: 8 kB / 275.9 MB, free: 13.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.01553, allocations: 197.1 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01553, allocations: 4 kB / 276.1 MB, free: 13.78 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.01581, allocations: 27.94 kB / 276.1 MB, free: 13.75 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.001269/0.01708, allocations: 399.3 kB / 276.5 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001794/0.01726, allocations: 43.67 kB / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01726, allocations: 0 / 276.5 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.01731, allocations: 31.61 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.0177, allocations: 69.08 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005578/0.01826, allocations: 298.2 kB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.765e-05/0.01832, allocations: 79.83 kB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.01839, allocations: 25.41 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.964e-05/0.01843, allocations: 16.5 kB / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01844, allocations: 0 / 277.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Templates: time 0.007119/0.02555, allocations: 2.72 MB / 279.8 MB, free: 10.2 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.938842468895018]