Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001381/0.001381, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001495/0.001495, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9095/0.9095, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/3.837e-05, allocations: 10.25 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002325/0.002364, allocations: 1.564 MB / 274.5 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000368/0.002732, allocations: 151.4 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.161e-05/0.002803, allocations: 0 / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.562e-05/0.002859, allocations: 3.938 kB / 274.7 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000141/0.003, allocations: 11.92 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.003218, allocations: 35.78 kB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.179e-05/0.00331, allocations: 39.91 kB / 274.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.003402, allocations: 11.98 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.003449, allocations: 11.98 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.003478, allocations: 15.92 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.003499, allocations: 4 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.003508, allocations: 0 / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.003552, allocations: 15.92 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.536e-05/0.003577, allocations: 8 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.979e-05/0.003677, allocations: 35.83 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.00368, allocations: 0 / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.003681, allocations: 4 kB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.003685, allocations: 0 / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003813/0.004066, allocations: 396.3 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.004104, allocations: 8.031 kB / 275.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.004146, allocations: 16.89 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.004309, allocations: 128.5 kB / 275.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.004328, allocations: 4.375 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.004338, allocations: 4.375 kB / 275.4 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.004582, allocations: 129.6 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.004589, allocations: 192 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.004598, allocations: 384 / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.004606, allocations: 4.375 kB / 275.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.514e-05/0.004631, allocations: 19.86 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000259/0.00489, allocations: 263.4 kB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.005006, allocations: 70.11 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.005043, allocations: 27.42 kB / 275.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.005058, allocations: 8 kB / 275.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.00508, allocations: 33.39 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.005082, allocations: 3.984 kB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000156/0.005238, allocations: 61.52 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.005282, allocations: 81.11 kB / 276.1 MB, free: 14.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.00538, allocations: 192.7 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.005391, allocations: 29.7 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.005438, allocations: 130.9 kB / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.005446, allocations: 0 / 276.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.005479, allocations: 27.44 kB / 276.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.005593, allocations: 0.4884 MB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.005603, allocations: 4 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-06/0.005609, allocations: 0 / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.229e-05/0.005631, allocations: 7.688 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.005633, allocations: 7.938 kB / 277 MB, free: 13.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.008e-05/0.005683, allocations: 29.7 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.005696, allocations: 4 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.005703, allocations: 11.86 kB / 277 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.005715, allocations: 4.094 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.679e-06/0.005724, allocations: 8 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.005728, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.005755, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.005759, allocations: 0 / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.019e-05/0.005829, allocations: 160.6 kB / 277.2 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.75e-05/0.005887, allocations: 45.64 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.676e-05/0.005914, allocations: 11.94 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.005916, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.00592, allocations: 4 kB / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.005923, allocations: 0 / 277.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.006045, allocations: 128.6 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006046, allocations: 0 / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-06/0.006053, allocations: 3.984 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006056, allocations: 7.938 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.006062, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.006064, allocations: 3.938 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.006065, allocations: 0 / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.006181, allocations: 207.6 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.89e-05/0.00621, allocations: 11.95 kB / 277.6 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.006223, allocations: 3.984 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.006277, allocations: 11.94 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.006304, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.006308, allocations: 0 / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.512e-05/0.006364, allocations: 139.2 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006364, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.006575, allocations: 8 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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 8.463e-05/0.006659, allocations: 99.19 kB / 277.9 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.006739, allocations: 15.67 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.006742, allocations: 4 kB / 277.9 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.257e-05/0.006755, allocations: 11.75 kB / 277.9 MB, free: 12.24 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.007057, allocations: 24.8 kB / 277.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.007326, allocations: 156.8 kB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.065e-05/0.007367, allocations: 59.34 kB / 278.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.458e-05/0.007381, allocations: 4 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.007407, allocations: 8.5 kB / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007408, allocations: 0 / 278.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Templates: time 0.002374/0.009781, allocations: 0.5524 MB / 278.7 MB, free: 11.39 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.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.570739052258432]