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.001518/0.001518, 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.001796/0.001796, allocations: 211.5 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.45/1.45, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001601/0.001601, allocations: 47.92 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2539, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002686/0.2566, allocations: 1.45 MB / 433.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.2568, allocations: 95.64 kB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.2569, allocations: 0 / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.2569, allocations: 7.922 kB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.257, allocations: 0 / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2572, allocations: 27.91 kB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.931e-05/0.2573, allocations: 27.88 kB / 433.9 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.116e-05/0.2574, allocations: 15.78 kB / 433.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.46e-05/0.2574, allocations: 11.98 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.2574, allocations: 11.92 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.2575, allocations: 4 kB / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.275e-06/0.2575, allocations: 0 / 434 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.2575, allocations: 7.938 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.2575, allocations: 7.938 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.481e-05/0.2576, allocations: 31.84 kB / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2576, allocations: 0 / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2576, allocations: 0 / 434 MB, free: 5.031 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2576, allocations: 4 kB / 434 MB, free: 5.027 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.0003739/0.258, allocations: 257.2 kB / 434.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.258, allocations: 12.02 kB / 434.3 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.258, allocations: 4.938 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.2583, allocations: 126.4 kB / 434.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.42e-05/0.2583, allocations: 8.359 kB / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.2583, allocations: 384 / 434.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.2586, allocations: 103.9 kB / 434.5 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2587, allocations: 4.188 kB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2587, allocations: 3.938 kB / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2587, allocations: 0 / 434.5 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.444e-05/0.2587, allocations: 11.98 kB / 434.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.2589, allocations: 105.3 kB / 434.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.259, allocations: 46.5 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.259, allocations: 20.92 kB / 434.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2591, allocations: 4 kB / 434.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2591, allocations: 34.56 kB / 434.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2591, allocations: 0 / 434.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001917/0.2593, allocations: 65.58 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.4e-05/0.2593, allocations: 63.34 kB / 434.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.419e-05/0.2594, allocations: 101.8 kB / 435 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.2594, allocations: 25.7 kB / 435 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.2595, allocations: 84.14 kB / 435.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-06/0.2595, allocations: 0 / 435.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.501e-05/0.2595, allocations: 21.7 kB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2597, allocations: 314.8 kB / 435.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.105e-05/0.2597, allocations: 12 kB / 435.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.2597, allocations: 27.42 kB / 435.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.2598, allocations: 35.38 kB / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2598, allocations: 0 / 435.5 MB, free: 3.375 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001136/0.2599, allocations: 53.62 kB / 435.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2599, allocations: 4.125 kB / 435.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.2599, allocations: 8 kB / 435.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.26, allocations: 3.938 kB / 435.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.103e-05/0.26, allocations: 7.938 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.26, allocations: 0 / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/0.26, allocations: 0 / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.26, allocations: 4 kB / 435.6 MB, free: 3.289 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.413e-05/0.2601, allocations: 117.8 kB / 435.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.2602, allocations: 49.64 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.2602, allocations: 16 kB / 435.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2603, allocations: 7.938 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2603, allocations: 256 / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2603, allocations: 3.984 kB / 435.8 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.104e-05/0.2603, allocations: 105.3 kB / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2603, allocations: 0 / 435.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.322e-05/0.2604, allocations: 7.922 kB / 435.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2604, allocations: 4 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2604, allocations: 0 / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2604, allocations: 0 / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2604, allocations: 3.938 kB / 435.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.2605, allocations: 77.12 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-06/0.2605, allocations: 7.953 kB / 436 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2605, allocations: 3.984 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.2605, allocations: 4 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-06/0.2606, allocations: 3.938 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.2606, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.2606, allocations: 83.28 kB / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2606, allocations: 0 / 436 MB, free: 2.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001987/0.2608, allocations: 4 kB / 436.1 MB, free: 2.73 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.899e-05/0.2609, allocations: 99.19 kB / 436.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.261, allocations: 27.92 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.261, allocations: 0 / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.261, allocations: 0 / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.2612, allocations: 30.06 kB / 436.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.2615, allocations: 147.3 kB / 436.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.766e-05/0.2615, allocations: 63.34 kB / 436.4 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.08e-05/0.2616, allocations: 7.438 kB / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2616, allocations: 0 / 436.4 MB, free: 2.305 MB / 334.1 MB Notification: Performance of Templates: time 0.001938/0.2635, allocations: 0.5591 MB / 437 MB, free: 1.746 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.629663830623031]