Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.0013/0.0013, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001418/0.001418, allocations: 213.1 kB / 24.48 MB, free: 3.961 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.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.734 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 55.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.244, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002932/0.2469, allocations: 1.441 MB / 433.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002355/0.2472, allocations: 39.84 kB / 433.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.2472, allocations: 0 / 433.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.2473, allocations: 3.938 kB / 433.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.2473, allocations: 0 / 433.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.2476, allocations: 27.84 kB / 433.8 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.2476, allocations: 23.98 kB / 433.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.2477, allocations: 11.8 kB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.2478, allocations: 15.92 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.2478, allocations: 4 kB / 433.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2478, allocations: 11.94 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.2479, allocations: 4 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.2479, allocations: 7.984 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.2479, allocations: 15.86 kB / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.865e-05/0.248, allocations: 23.91 kB / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.248, allocations: 4 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.248, allocations: 3.938 kB / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.248, allocations: 0 / 434 MB, free: 5.09 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.0004211/0.2484, allocations: 265.2 kB / 434.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2485, allocations: 12.03 kB / 434.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2485, allocations: 4.938 kB / 434.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.2487, allocations: 118.5 kB / 434.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2487, allocations: 4.375 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2488, allocations: 4.375 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.2491, allocations: 115.8 kB / 434.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2491, allocations: 4.125 kB / 434.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2491, allocations: 3.938 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2491, allocations: 0 / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2492, allocations: 27.97 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.2494, allocations: 97.33 kB / 434.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.2495, allocations: 54.53 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.2496, allocations: 28.86 kB / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.2496, allocations: 0 / 434.7 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2497, allocations: 30.56 kB / 434.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.2497, allocations: 3.938 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000254/0.2499, allocations: 77.56 kB / 434.8 MB, free: 4.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.25, allocations: 63.39 kB / 434.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.2501, allocations: 101.9 kB / 435 MB, free: 3.953 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.2501, allocations: 29.7 kB / 435 MB, free: 3.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.2501, allocations: 84.14 kB / 435.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.2502, allocations: 7.984 kB / 435.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2502, allocations: 13.72 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2503, allocations: 314.8 kB / 435.4 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.2503, allocations: 4 kB / 435.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.953e-05/0.2504, allocations: 39.36 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.776e-05/0.2504, allocations: 35.44 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2504, allocations: 0 / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000102/0.2506, allocations: 69.52 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2506, allocations: 4 kB / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2506, allocations: 0 / 435.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2506, allocations: 7.938 kB / 435.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.476e-05/0.2506, allocations: 4 kB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.2506, allocations: 0 / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.095e-05/0.2507, allocations: 3.938 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.2507, allocations: 8.125 kB / 435.6 MB, free: 3.285 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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001014/0.2508, allocations: 125.7 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2509, allocations: 53.69 kB / 435.7 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2509, allocations: 11.67 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.251, allocations: 3.938 kB / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.251, allocations: 0 / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.251, allocations: 0 / 435.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.587e-05/0.251, allocations: 101.3 kB / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.251, allocations: 0 / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.2511, allocations: 7.984 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2511, allocations: 4 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2511, allocations: 4 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2511, allocations: 4 kB / 435.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.2511, allocations: 3.938 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.2512, allocations: 89 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-06/0.2513, allocations: 4 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.2513, allocations: 0.6562 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-05/0.2513, allocations: 7.984 kB / 436 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-06/0.2513, allocations: 3.938 kB / 436 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.2513, allocations: 4 kB / 436 MB, free: 2.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.609e-05/0.2514, allocations: 83.28 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2514, allocations: 4 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000185/0.2515, allocations: 4 kB / 436.1 MB, free: 2.707 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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 0.0001118/0.2517, allocations: 103.2 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2518, allocations: 27.92 kB / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2518, allocations: 4 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2518, allocations: 0 / 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.0002275/0.252, allocations: 29.69 kB / 436.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2523, allocations: 143.6 kB / 436.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.426e-05/0.2524, allocations: 71.28 kB / 436.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.2524, allocations: 11.44 kB / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2524, allocations: 0 / 436.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of Templates: time 0.002286/0.2547, allocations: 0.6008 MB / 437.1 MB, free: 1.668 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.617388970043976]