Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001352/0.001352, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001435/0.001435, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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 1.456/1.456, allocations: 230.6 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2414, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003518/0.2449, allocations: 1.88 MB / 434.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2471, allocations: 1.161 MB / 435.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.2472, allocations: 7.938 kB / 435.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.2478, allocations: 151.5 kB / 435.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.2482, allocations: 167.4 kB / 435.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.2487, allocations: 170.7 kB / 435.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.249, allocations: 195.4 kB / 436 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.2491, allocations: 21.55 kB / 436.1 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.2493, allocations: 83.62 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2494, allocations: 79.55 kB / 436.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.2494, allocations: 12 kB / 436.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.2496, allocations: 55.97 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.2497, allocations: 51.77 kB / 436.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.076e-05/0.2497, allocations: 55.61 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.2501, allocations: 210 kB / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2501, allocations: 0 / 436.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2501, allocations: 4 kB / 436.6 MB, free: 2.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.2501, allocations: 0 / 436.6 MB, free: 2.406 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.0007547/0.2509, allocations: 450.7 kB / 437 MB, free: 1.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2509, allocations: 8.031 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.161e-05/0.2509, allocations: 24.8 kB / 437.1 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2513, allocations: 209.2 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.2513, allocations: 4.375 kB / 437.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.2513, allocations: 16.06 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.2517, allocations: 137.9 kB / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2517, allocations: 0 / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.2517, allocations: 0 / 437.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2517, allocations: 7.984 kB / 437.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.2518, allocations: 39.97 kB / 437.5 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.2522, allocations: 298 kB / 437.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002283/0.2525, allocations: 103.9 kB / 437.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.774e-05/0.2526, allocations: 46.56 kB / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2526, allocations: 0 / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.2527, allocations: 75.33 kB / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.2527, allocations: 4 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003718/0.2531, allocations: 149.6 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.2532, allocations: 106.8 kB / 438.3 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.2535, allocations: 277 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.2535, allocations: 33.7 kB / 438.6 MB, free: 252 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.2536, allocations: 116.1 kB / 438.7 MB, free: 132 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.2536, allocations: 15.89 kB / 438.7 MB, free: 116 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.2537, allocations: 29.67 kB / 438.7 MB, free: 80 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.2539, allocations: 335 kB / 439 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-05/0.254, allocations: 35.98 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.2541, allocations: 90.84 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2542, allocations: 72.22 kB / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2542, allocations: 0 / 439.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002188/0.2545, allocations: 121.6 kB / 439.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2545, allocations: 12.03 kB / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2545, allocations: 0 / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2545, allocations: 0 / 439.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.2546, allocations: 19.92 kB / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.2546, allocations: 0 / 439.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.2547, allocations: 11.95 kB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.2547, allocations: 0 / 439.4 MB, free: 15.34 MB / 350.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.0001554/0.2548, allocations: 158.4 kB / 439.6 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.045e-05/0.2549, allocations: 65.56 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002841/0.2552, allocations: 119.4 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2552, allocations: 3.984 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.2552, allocations: 4 kB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2552, allocations: 0 / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2554, allocations: 165.2 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2554, allocations: 0 / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.2554, allocations: 8 kB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2554, allocations: 0 / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2554, allocations: 12.05 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.2554, allocations: 3.938 kB / 439.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2554, allocations: 4.031 kB / 439.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002674/0.2557, allocations: 162.6 kB / 440.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.2558, allocations: 35.83 kB / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.2558, allocations: 0 / 440.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.927e-05/0.2559, allocations: 8 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.2559, allocations: 7.984 kB / 440.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.2559, allocations: 7.938 kB / 440.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.2561, allocations: 200.5 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2561, allocations: 0 / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000245/0.2564, allocations: 31.94 kB / 440.4 MB, free: 14.29 MB / 350.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.001618/0.258, allocations: 460.4 kB / 440.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.2582, allocations: 71.78 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2582, allocations: 0 / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.2583, allocations: 23.98 kB / 440.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.2587, allocations: 63.06 kB / 441 MB, free: 13.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.2593, allocations: 363.3 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.2594, allocations: 115.3 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.767e-05/0.2595, allocations: 23.44 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2595, allocations: 3.938 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of Templates: time 0.004968/0.2644, allocations: 2.697 MB / 444.2 MB, free: 10.62 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.306990065146238]