Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001361, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001612/0.001612, allocations: 213.1 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 230.5 MB / 258.2 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 55.91 kB / 379 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2626, allocations: 53.4 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002968/0.2655, allocations: 1.457 MB / 433.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.2658, allocations: 99.67 kB / 434 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.2659, allocations: 3.938 kB / 434 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.2659, allocations: 0 / 434 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.266, allocations: 7.938 kB / 434 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.2662, allocations: 27.41 kB / 434 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.2663, allocations: 27.92 kB / 434 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.2664, allocations: 11.94 kB / 434.1 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.2665, allocations: 4 kB / 434.1 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.393e-05/0.2665, allocations: 15.91 kB / 434.1 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2665, allocations: 4 kB / 434.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.2665, allocations: 7.938 kB / 434.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.2665, allocations: 4 kB / 434.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.2666, allocations: 15.88 kB / 434.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.31e-05/0.2667, allocations: 23.7 kB / 434.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2667, allocations: 0 / 434.1 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2667, allocations: 4 kB / 434.1 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.2667, allocations: 0 / 434.1 MB, free: 5.016 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.0004054/0.2671, allocations: 263.8 kB / 434.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2671, allocations: 12.03 kB / 434.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.901e-05/0.2672, allocations: 0.9375 kB / 434.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.2674, allocations: 122.4 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2674, allocations: 384 / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.2674, allocations: 8.375 kB / 434.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.2677, allocations: 107.8 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2677, allocations: 192 / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2677, allocations: 3.938 kB / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2677, allocations: 0 / 434.6 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.058e-05/0.2678, allocations: 12 kB / 434.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.2679, allocations: 132.7 kB / 434.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.2681, allocations: 42.56 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.2681, allocations: 20.92 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.2682, allocations: 4 kB / 434.9 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.2682, allocations: 38.5 kB / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.2682, allocations: 0 / 434.9 MB, free: 4.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.2684, allocations: 69.58 kB / 435 MB, free: 4.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.2685, allocations: 51.41 kB / 435 MB, free: 4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.2685, allocations: 105.8 kB / 435.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2686, allocations: 33.64 kB / 435.1 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.2686, allocations: 80.14 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.711e-06/0.2686, allocations: 4 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.2686, allocations: 21.7 kB / 435.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2688, allocations: 314.8 kB / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.949e-06/0.2688, allocations: 0 / 435.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.243e-05/0.2688, allocations: 35.36 kB / 435.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.835e-05/0.2689, allocations: 35.38 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2689, allocations: 4 kB / 435.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001151/0.269, allocations: 53.62 kB / 435.7 MB, free: 3.262 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.269, allocations: 8 kB / 435.7 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.269, allocations: 3.938 kB / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.269, allocations: 0 / 435.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.872e-05/0.2691, allocations: 4 kB / 435.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.2691, allocations: 3.938 kB / 435.7 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.2691, allocations: 4 kB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.2691, allocations: 4.406 kB / 435.7 MB, free: 3.234 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 9.048e-05/0.2692, allocations: 117.8 kB / 435.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.2693, allocations: 57.62 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.967e-05/0.2694, allocations: 15.61 kB / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2694, allocations: 0 / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2694, allocations: 0 / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2694, allocations: 0 / 435.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.2695, allocations: 124.8 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2695, allocations: 0 / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.2695, allocations: 8 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2695, allocations: 0 / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.2695, allocations: 3.938 kB / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2695, allocations: 0 / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2695, allocations: 0 / 436 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.2697, allocations: 85.3 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.917e-06/0.2697, allocations: 3.953 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2697, allocations: 7.938 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.2697, allocations: 8 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-06/0.2697, allocations: 0 / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.2697, allocations: 0 / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.977e-05/0.2698, allocations: 91.2 kB / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2698, allocations: 0 / 436.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001901/0.27, allocations: 4 kB / 436.2 MB, free: 2.637 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.000101/0.2701, allocations: 101.9 kB / 436.3 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.2702, allocations: 23.98 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2702, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.2702, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.2704, allocations: 23.97 kB / 436.4 MB, free: 2.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.2708, allocations: 143.3 kB / 436.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.2711, allocations: 0.6845 MB / 437.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.2711, allocations: 11.44 kB / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2711, allocations: 0 / 437.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of Templates: time 0.00187/0.273, allocations: 0.5395 MB / 437.7 MB, free: 1.047 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.858339286176488]