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.00189/0.00189, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002237/0.002237, allocations: 184.9 kB / 24.45 MB, free: 3.961 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.474/1.474, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.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.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 0.001764/0.001764, allocations: 55.89 kB / 371.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2949, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.00383/0.2988, allocations: 1.878 MB / 425.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.3007, allocations: 1.005 MB / 426.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3008, allocations: 7.938 kB / 426.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.3015, allocations: 159.5 kB / 426.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3018, allocations: 115.5 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005926/0.3024, allocations: 209.6 kB / 427.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.3027, allocations: 175.5 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.3028, allocations: 25.47 kB / 427.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.3029, allocations: 87.56 kB / 427.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.303, allocations: 67.69 kB / 427.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.906e-05/0.3031, allocations: 8 kB / 427.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.3032, allocations: 63.95 kB / 427.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.3033, allocations: 51.77 kB / 427.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.3034, allocations: 43.69 kB / 427.7 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.3037, allocations: 206 kB / 427.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3037, allocations: 4 kB / 427.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3037, allocations: 0 / 427.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3037, allocations: 0 / 427.9 MB, free: 10.37 MB / 334.1 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.0007852/0.3045, allocations: 442.7 kB / 428.3 MB, free: 9.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3045, allocations: 12.03 kB / 428.3 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.402e-05/0.3046, allocations: 20.8 kB / 428.4 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.3049, allocations: 205.2 kB / 428.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.305, allocations: 8.375 kB / 428.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.305, allocations: 8.125 kB / 428.6 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.3053, allocations: 147.9 kB / 428.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3053, allocations: 0 / 428.7 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.3053, allocations: 3.984 kB / 428.7 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3054, allocations: 7.938 kB / 428.7 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.3055, allocations: 35.98 kB / 428.8 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.3059, allocations: 314 kB / 429.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.3062, allocations: 107.9 kB / 429.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.3063, allocations: 38.56 kB / 429.2 MB, free: 8.891 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3063, allocations: 4 kB / 429.2 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.3065, allocations: 79.31 kB / 429.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3065, allocations: 0 / 429.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004336/0.3069, allocations: 145.5 kB / 429.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.3071, allocations: 106.8 kB / 429.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.3074, allocations: 264.9 kB / 429.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3074, allocations: 29.64 kB / 429.8 MB, free: 8.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3075, allocations: 116.1 kB / 429.9 MB, free: 8.102 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.3076, allocations: 19.89 kB / 430 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.3076, allocations: 25.72 kB / 430 MB, free: 8.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3078, allocations: 334.8 kB / 430.3 MB, free: 7.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.76e-05/0.3079, allocations: 20.25 kB / 430.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.308, allocations: 94.83 kB / 430.4 MB, free: 7.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.3082, allocations: 80.22 kB / 430.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3082, allocations: 0 / 430.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002479/0.3084, allocations: 117.5 kB / 430.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3084, allocations: 4.156 kB / 430.6 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3084, allocations: 7.938 kB / 430.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.3085, allocations: 4 kB / 430.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.3086, allocations: 8 kB / 430.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.3086, allocations: 4 kB / 430.6 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3087, allocations: 19.88 kB / 430.7 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3087, allocations: 4 kB / 430.7 MB, free: 7.312 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001576/0.3089, allocations: 150 kB / 430.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.3089, allocations: 61.5 kB / 430.9 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.3092, allocations: 127.3 kB / 431 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3092, allocations: 0 / 431 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3092, allocations: 4 kB / 431 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3092, allocations: 0 / 431 MB, free: 6.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.3094, allocations: 165.3 kB / 431.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3094, allocations: 0 / 431.2 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.421e-05/0.3095, allocations: 8 kB / 431.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3095, allocations: 0 / 431.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3095, allocations: 0 / 431.2 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.3095, allocations: 7.938 kB / 431.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3095, allocations: 0 / 431.2 MB, free: 6.746 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.3098, allocations: 174.5 kB / 431.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.3099, allocations: 27.83 kB / 431.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.3099, allocations: 8 kB / 431.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-05/0.31, allocations: 7.984 kB / 431.4 MB, free: 6.508 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.31, allocations: 4 kB / 431.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.31, allocations: 3.984 kB / 431.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.3102, allocations: 192.5 kB / 431.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3102, allocations: 0 / 431.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3105, allocations: 31.98 kB / 431.6 MB, free: 6.281 MB / 334.1 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.00171/0.3122, allocations: 455 kB / 432.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3125, allocations: 83.77 kB / 432.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3125, allocations: 0 / 432.2 MB, free: 5.934 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.3126, allocations: 27.98 kB / 432.2 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.313, allocations: 52.42 kB / 432.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.3136, allocations: 355.1 kB / 432.6 MB, free: 5.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3137, allocations: 115.2 kB / 432.7 MB, free: 5.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.303e-05/0.3138, allocations: 23.42 kB / 432.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3138, allocations: 0 / 432.7 MB, free: 5.316 MB / 334.1 MB Notification: Performance of Templates: time 0.005334/0.3191, allocations: 2.632 MB / 435.3 MB, free: 2.691 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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: 7.460875179618597]