Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.001401/0.001401, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001506/0.001506, allocations: 205.1 kB / 24.48 MB, free: 3.695 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 43.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2461, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002723/0.2488, allocations: 1.45 MB / 433.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000286/0.2491, allocations: 95.69 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.895e-05/0.2491, allocations: 3.938 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.2492, allocations: 4 kB / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.37e-05/0.2492, allocations: 7.938 kB / 433.9 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.2494, allocations: 19.92 kB / 433.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.533e-05/0.2495, allocations: 27.86 kB / 433.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.2496, allocations: 19.77 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.257e-05/0.2496, allocations: 4 kB / 434 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.2497, allocations: 11.94 kB / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.2497, allocations: 0 / 434 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.2497, allocations: 4 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2497, allocations: 11.92 kB / 434 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.2497, allocations: 7.938 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.361e-05/0.2498, allocations: 27.89 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2498, allocations: 11.94 kB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2498, allocations: 0 / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2498, allocations: 0 / 434 MB, free: 4.992 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003757/0.2502, allocations: 257.2 kB / 434.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2502, allocations: 8.031 kB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.2503, allocations: 4.938 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2505, allocations: 122.4 kB / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.2505, allocations: 384 / 434.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.2505, allocations: 4.375 kB / 434.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.2508, allocations: 103.9 kB / 434.5 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2508, allocations: 4.125 kB / 434.5 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2508, allocations: 3.938 kB / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.2508, allocations: 0 / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.501e-05/0.2509, allocations: 19.97 kB / 434.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001128/0.251, allocations: 97.33 kB / 434.6 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.2511, allocations: 50.55 kB / 434.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.2512, allocations: 20.89 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.2512, allocations: 0 / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.2512, allocations: 34.5 kB / 434.7 MB, free: 4.164 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.2512, allocations: 4 kB / 434.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001978/0.2514, allocations: 69.61 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.2515, allocations: 55.41 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.688e-05/0.2516, allocations: 105.8 kB / 435 MB, free: 3.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.2516, allocations: 25.7 kB / 435 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.2516, allocations: 80.14 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-06/0.2516, allocations: 0 / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.2517, allocations: 21.72 kB / 435.1 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2518, allocations: 322.8 kB / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.2518, allocations: 0 / 435.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.42e-05/0.2519, allocations: 35.31 kB / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.626e-05/0.2519, allocations: 31.42 kB / 435.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2519, allocations: 4 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.143e-05/0.252, allocations: 53.58 kB / 435.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.252, allocations: 8 kB / 435.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.252, allocations: 0 / 435.5 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.252, allocations: 3.938 kB / 435.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.2521, allocations: 8.234 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2521, allocations: 0 / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.299e-05/0.2521, allocations: 8 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.2521, allocations: 4 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.683e-05/0.2522, allocations: 109.8 kB / 435.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.2523, allocations: 65.7 kB / 435.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.2523, allocations: 7.625 kB / 435.7 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2523, allocations: 3.938 kB / 435.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2523, allocations: 4 kB / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.2523, allocations: 0 / 435.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.2524, allocations: 101.3 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2524, allocations: 4 kB / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.697e-05/0.2524, allocations: 0 / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2525, allocations: 0 / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2525, allocations: 0 / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2525, allocations: 0 / 435.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2525, allocations: 11.94 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2526, allocations: 81.38 kB / 435.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.2526, allocations: 8 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.2526, allocations: 3.984 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.824e-05/0.2526, allocations: 0 / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-06/0.2526, allocations: 3.938 kB / 436 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2526, allocations: 4 kB / 436 MB, free: 2.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.619e-05/0.2527, allocations: 87.27 kB / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2527, allocations: 0 / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000185/0.2529, allocations: 0 / 436.1 MB, free: 2.703 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.953e-05/0.253, allocations: 99.25 kB / 436.1 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.2531, allocations: 27.92 kB / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2531, allocations: 0 / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2531, allocations: 3.938 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.2533, allocations: 17.72 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002852/0.2536, allocations: 151.3 kB / 436.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.634e-05/0.2537, allocations: 63.34 kB / 436.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.2537, allocations: 11.69 kB / 436.4 MB, free: 2.273 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2537, allocations: 3.938 kB / 436.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of Templates: time 0.001871/0.2555, allocations: 0.5471 MB / 437 MB, free: 1.723 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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: 6.704812299984042]