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.001877/0.001877, allocations: 119.6 kB / 20.44 MB, free: 1.297 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.002227/0.002227, allocations: 214.5 kB / 23.74 MB, free: 4.527 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.68/1.68, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.001725/0.001725, allocations: 47.92 kB / 378.3 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.34, allocations: 53.36 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003118/0.3431, allocations: 1.457 MB / 433.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003084/0.3435, allocations: 99.67 kB / 433.2 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.3435, allocations: 3.938 kB / 433.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.3435, allocations: 0 / 433.2 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.913e-05/0.3436, allocations: 7.938 kB / 433.2 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.3438, allocations: 27.84 kB / 433.2 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.3439, allocations: 20 kB / 433.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3441, allocations: 19.91 kB / 433.3 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.562e-05/0.3441, allocations: 11.94 kB / 433.3 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.278e-05/0.3441, allocations: 11.92 kB / 433.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.3441, allocations: 0 / 433.3 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.3442, allocations: 4 kB / 433.3 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3442, allocations: 4 kB / 433.3 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3442, allocations: 15.88 kB / 433.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.897e-05/0.3443, allocations: 27.64 kB / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3443, allocations: 0 / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3443, allocations: 4 kB / 433.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3443, allocations: 0 / 433.3 MB, free: 5.199 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.0004184/0.3447, allocations: 267.7 kB / 433.6 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.3448, allocations: 12.03 kB / 433.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.3448, allocations: 0.9375 kB / 433.6 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.345, allocations: 118.4 kB / 433.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.3451, allocations: 4.375 kB / 433.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3451, allocations: 4.375 kB / 433.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3454, allocations: 103.9 kB / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3454, allocations: 4.125 kB / 433.8 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.3454, allocations: 7.938 kB / 433.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3454, allocations: 0 / 433.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.256e-05/0.3455, allocations: 11.98 kB / 433.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.3456, allocations: 128.8 kB / 434 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.3458, allocations: 46.55 kB / 434 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.551e-05/0.3458, allocations: 16.89 kB / 434 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.3459, allocations: 4 kB / 434 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3459, allocations: 30.61 kB / 434.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3459, allocations: 3.938 kB / 434.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002154/0.3461, allocations: 73.56 kB / 434.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.3462, allocations: 59.41 kB / 434.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.3462, allocations: 101.8 kB / 434.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.3463, allocations: 25.7 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.3463, allocations: 84.08 kB / 434.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.3463, allocations: 4 kB / 434.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3464, allocations: 17.72 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3465, allocations: 322.8 kB / 434.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.3465, allocations: 0 / 434.8 MB, free: 3.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.3465, allocations: 35.55 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.873e-05/0.3466, allocations: 31.42 kB / 434.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3466, allocations: 4 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.681e-05/0.3467, allocations: 53.83 kB / 434.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3467, allocations: 8 kB / 434.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.3467, allocations: 3.938 kB / 434.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3467, allocations: 4 kB / 434.9 MB, free: 3.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.3468, allocations: 7.984 kB / 434.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.3468, allocations: 0 / 434.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.3468, allocations: 4 kB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.3468, allocations: 8.125 kB / 434.9 MB, free: 3.41 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.876e-05/0.3469, allocations: 113.8 kB / 435 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.347, allocations: 61.58 kB / 435.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.347, allocations: 7.625 kB / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.347, allocations: 0 / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.347, allocations: 0 / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.347, allocations: 0 / 435.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3471, allocations: 128.7 kB / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3471, allocations: 0 / 435.2 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.836e-05/0.3472, allocations: 8 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3472, allocations: 0 / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.3472, allocations: 3.938 kB / 435.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3472, allocations: 0 / 435.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3472, allocations: 0 / 435.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.3473, allocations: 85.05 kB / 435.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.3473, allocations: 3.953 kB / 435.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3473, allocations: 7.938 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.3473, allocations: 8 kB / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-06/0.3473, allocations: 0 / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3473, allocations: 0 / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.362e-05/0.3474, allocations: 79.28 kB / 435.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3474, allocations: 3.938 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001953/0.3476, allocations: 8 kB / 435.4 MB, free: 2.82 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 0.0001014/0.3477, allocations: 101.5 kB / 435.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.3478, allocations: 27.98 kB / 435.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3478, allocations: 0 / 435.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-07/0.3478, allocations: 0 / 435.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/0.348, allocations: 16 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.3483, allocations: 117.6 kB / 435.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3486, allocations: 0.6768 MB / 436.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.661e-05/0.3486, allocations: 4 kB / 436.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.3486, allocations: 11.62 kB / 436.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3486, allocations: 4 kB / 436.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of Templates: time 0.002701/0.3513, allocations: 336.7 kB / 436.7 MB, free: 1.477 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/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: 5.004073183983564]