Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.001314/0.001314, allocations: 77.55 kB / 20.68 MB, free: 1.039 MB / 14.72 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.001388/0.001388, allocations: 154.9 kB / 23.94 MB, free: 4.176 MB / 14.72 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 1.431/1.431, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.791e-05, allocations: 2.281 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002607/0.002635, allocations: 1.51 MB / 320.4 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004051/0.00304, allocations: 144.2 kB / 320.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.64e-05/0.003127, allocations: 1.531 kB / 320.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.407e-05/0.003181, allocations: 5.953 kB / 320.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.003328, allocations: 11.33 kB / 320.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.00359, allocations: 36.31 kB / 320.6 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.00372, allocations: 29.75 kB / 320.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003836, allocations: 9.984 kB / 320.7 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.302e-05/0.003899, allocations: 24.14 kB / 320.7 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.31e-05/0.003932, allocations: 9.328 kB / 320.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.003961, allocations: 6.969 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.003975, allocations: 2.906 kB / 320.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.004037, allocations: 15.14 kB / 320.7 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.004067, allocations: 8.094 kB / 320.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.004191, allocations: 43.56 kB / 320.8 MB, free: 2.352 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004192, allocations: 3.938 kB / 320.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004193, allocations: 0 / 320.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.004205, allocations: 1.969 kB / 320.8 MB, free: 2.348 MB / 286.1 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.0004095/0.004614, allocations: 294.7 kB / 321.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.004657, allocations: 10.45 kB / 321.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.00469, allocations: 9.047 kB / 321.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.004899, allocations: 133.9 kB / 321.2 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.004923, allocations: 5.562 kB / 321.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.00494, allocations: 3.656 kB / 321.2 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.005199, allocations: 108.5 kB / 321.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.005211, allocations: 1.438 kB / 321.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005221, allocations: 0.8906 kB / 321.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.005226, allocations: 5.438 kB / 321.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.915e-05/0.005285, allocations: 22.62 kB / 321.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000231/0.005516, allocations: 208.7 kB / 321.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.005647, allocations: 59.42 kB / 321.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.005702, allocations: 28.91 kB / 321.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.005726, allocations: 2.484 kB / 321.6 MB, free: 1.504 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.00574, allocations: 31.88 kB / 321.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.005741, allocations: 0 / 321.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000223/0.005964, allocations: 79.78 kB / 321.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.006004, allocations: 83.56 kB / 321.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.006108, allocations: 135.3 kB / 322 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.006116, allocations: 25.7 kB / 322 MB, free: 1.168 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.00615, allocations: 91.06 kB / 322.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.006159, allocations: 1.125 kB / 322.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.006187, allocations: 14.27 kB / 322.1 MB, free: 1.062 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.006237, allocations: 317.8 kB / 322.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.006265, allocations: 2.953 kB / 322.4 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.998e-05/0.006285, allocations: 8.422 kB / 322.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.393e-05/0.006329, allocations: 16.92 kB / 322.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.006331, allocations: 0 / 322.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.104e-05/0.006402, allocations: 43.53 kB / 322.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.006414, allocations: 5.438 kB / 322.5 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.006419, allocations: 5.094 kB / 322.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.006434, allocations: 3.938 kB / 322.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.504e-06/0.006442, allocations: 3.938 kB / 322.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.006446, allocations: 5.234 kB / 322.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.006468, allocations: 5.156 kB / 322.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.006472, allocations: 0 / 322.5 MB, free: 0.6758 MB / 286.1 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 5.353e-05/0.006526, allocations: 116.2 kB / 322.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.006588, allocations: 43.39 kB / 322.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.006616, allocations: 16.23 kB / 322.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006618, allocations: 1.625 kB / 322.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.006622, allocations: 0 / 322.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.006627, allocations: 2.609 kB / 322.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.00673, allocations: 113.4 kB / 322.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006731, allocations: 0 / 322.8 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.006739, allocations: 6.328 kB / 322.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.006741, allocations: 1.469 kB / 322.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006747, allocations: 0 / 322.8 MB, free: 380 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.00675, allocations: 9.984 kB / 322.8 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006751, allocations: 0 / 322.8 MB, free: 372 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.006866, allocations: 156.5 kB / 323 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.006897, allocations: 14.84 kB / 323 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.00691, allocations: 2.016 kB / 323 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.006966, allocations: 7.203 kB / 323 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.006997, allocations: 5.625 kB / 323 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.007001, allocations: 5.125 kB / 323 MB, free: 204 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.035e-05/0.007052, allocations: 106.8 kB / 323.1 MB, free: 120 kB / 286.1 MB Notification: Performance of sort global known variables: time 7e-08/0.007052, allocations: 0 / 323.1 MB, free: 120 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.007281, allocations: 2.906 kB / 323.1 MB, free: 120 kB / 286.1 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 7.502e-05/0.007356, allocations: 105 kB / 323.2 MB, free: 24 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.007466, allocations: 16.8 kB / 323.2 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.007468, allocations: 0 / 323.2 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.007495, allocations: 5.047 kB / 323.2 MB, free: 20 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.007825, allocations: 31.03 kB / 323.3 MB, free: 4 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.008216, allocations: 157.9 kB / 323.4 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.008319, allocations: 71.53 kB / 323.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.824e-05/0.008337, allocations: 2.109 kB / 323.5 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.008371, allocations: 13.77 kB / 323.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.008371, allocations: 1.281 kB / 323.5 MB, free: 15.78 MB / 302.1 MB Notification: Performance of Templates: time 0.003583/0.01195, allocations: 0.5091 MB / 324 MB, free: 15.69 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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: 4.187880408018827]