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.001575/0.001575, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001588/0.001588, allocations: 161 kB / 24.56 MB, free: 12 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.9841/0.9841, allocations: 177.1 MB / 205 MB, free: 5.594 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.993e-06/1.993e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.694e-05/3.893e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002969/0.003008, allocations: 1.576 MB / 274.5 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004218/0.00343, allocations: 143.5 kB / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.558e-05/0.003516, allocations: 0 / 274.7 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.441e-05/0.00358, allocations: 11.92 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.003738, allocations: 7.875 kB / 274.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.003995, allocations: 39.83 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.992e-05/0.004095, allocations: 31.92 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.004191, allocations: 12 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.004243, allocations: 23.91 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.706e-05/0.00427, allocations: 3.984 kB / 274.8 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.00429, allocations: 4 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.004302, allocations: 4 kB / 274.8 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.00435, allocations: 11.94 kB / 274.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.00438, allocations: 15.92 kB / 274.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.004487, allocations: 27.84 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00449, allocations: 0 / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.004491, allocations: 0 / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.004497, allocations: 7.938 kB / 274.9 MB, free: 15.6 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.0004273/0.004924, allocations: 396.4 kB / 275.3 MB, free: 15.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.004965, allocations: 12.03 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.005009, allocations: 8.891 kB / 275.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.005196, allocations: 136.1 kB / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.005218, allocations: 384 / 275.4 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.005231, allocations: 4.375 kB / 275.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.005497, allocations: 137.5 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.005509, allocations: 4.188 kB / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.005518, allocations: 384 / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.005528, allocations: 384 / 275.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.674e-05/0.005554, allocations: 7.938 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.00585, allocations: 271.4 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.005973, allocations: 66.12 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.006014, allocations: 27.42 kB / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.006037, allocations: 0 / 275.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.006065, allocations: 41.33 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.006066, allocations: 0 / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.006247, allocations: 73.45 kB / 276 MB, free: 14.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.006297, allocations: 77.11 kB / 276.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.00642, allocations: 185.9 kB / 276.3 MB, free: 13.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006434, allocations: 29.7 kB / 276.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.006495, allocations: 130.9 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.006504, allocations: 0 / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.00654, allocations: 27.33 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.00668, allocations: 496.1 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.006691, allocations: 4.125 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.006701, allocations: 0 / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.006724, allocations: 15.69 kB / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006726, allocations: 0 / 277 MB, free: 13.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.182e-05/0.006778, allocations: 37.62 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.006792, allocations: 8 kB / 277 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.006798, allocations: 3.938 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.006815, allocations: 0 / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.027e-05/0.006826, allocations: 4 kB / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.006831, allocations: 96 / 277 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.725e-05/0.006859, allocations: 4 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.006866, allocations: 4 kB / 277 MB, free: 13.18 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.206e-05/0.006938, allocations: 152.6 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.007001, allocations: 49.64 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.601e-05/0.007037, allocations: 12.17 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.007043, allocations: 7.984 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.007047, allocations: 3.938 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.007051, allocations: 3.984 kB / 277.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.007186, allocations: 120.6 kB / 277.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.007188, allocations: 4 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.283e-06/0.007195, allocations: 4 kB / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.007197, allocations: 0 / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.007205, allocations: 0 / 277.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.007208, allocations: 3.938 kB / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007209, allocations: 0 / 277.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.007332, allocations: 211.6 kB / 277.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.188e-05/0.007364, allocations: 11.94 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.007377, allocations: 4 kB / 277.6 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.007434, allocations: 15.81 kB / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.007465, allocations: 0 / 277.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.007471, allocations: 8 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.787e-05/0.007529, allocations: 135.2 kB / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007529, allocations: 0 / 277.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.00778, allocations: 4 kB / 277.8 MB, free: 12.37 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 9.188e-05/0.007872, allocations: 99.23 kB / 277.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.372e-05/0.007955, allocations: 19.69 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007957, allocations: 0 / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.617e-05/0.007973, allocations: 11.62 kB / 277.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.008319, allocations: 27.48 kB / 277.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.008656, allocations: 156.7 kB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.401e-05/0.00871, allocations: 59.36 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.916e-05/0.008729, allocations: 3.984 kB / 278.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.008762, allocations: 12.5 kB / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.008763, allocations: 0 / 278.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of Templates: time 0.002702/0.01146, allocations: 0.5229 MB / 278.7 MB, free: 11.4 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.957350960932672]