Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.001473/0.001473, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.001662/0.001662, allocations: 198.2 kB / 23.72 MB, free: 4.504 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.505/1.505, allocations: 230.5 MB / 257.4 MB, free: 7.777 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.89 kB / 378.2 MB, free: 2.297 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2653, allocations: 53.41 MB / 431.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002891/0.2682, allocations: 1.442 MB / 433.1 MB, free: 5.066 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.2684, allocations: 27.86 kB / 433.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.2685, allocations: 7.938 kB / 433.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.857e-05/0.2685, allocations: 7.922 kB / 433.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.2685, allocations: 0 / 433.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.2688, allocations: 23.92 kB / 433.1 MB, free: 5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.626e-05/0.2689, allocations: 31.91 kB / 433.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.269, allocations: 8 kB / 433.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.269, allocations: 8 kB / 433.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.2691, allocations: 11.92 kB / 433.2 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.2691, allocations: 4 kB / 433.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-06/0.2691, allocations: 0 / 433.2 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.2691, allocations: 11.94 kB / 433.2 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.2692, allocations: 15.91 kB / 433.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.303e-05/0.2692, allocations: 31.64 kB / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2693, allocations: 0 / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2693, allocations: 0 / 433.3 MB, free: 4.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.2693, allocations: 4 kB / 433.3 MB, free: 4.879 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.0004403/0.2697, allocations: 268.7 kB / 433.5 MB, free: 4.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2697, allocations: 11.98 kB / 433.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.2698, allocations: 4.938 kB / 433.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.27, allocations: 114.5 kB / 433.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.27, allocations: 8.375 kB / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.27, allocations: 384 / 433.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003709/0.2704, allocations: 115.8 kB / 433.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.2704, allocations: 4.188 kB / 433.8 MB, free: 4.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.2704, allocations: 3.938 kB / 433.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2704, allocations: 4 kB / 433.8 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2705, allocations: 23.92 kB / 433.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.2707, allocations: 109.3 kB / 433.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001556/0.2709, allocations: 42.59 kB / 434 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.112e-05/0.2709, allocations: 24.88 kB / 434 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2709, allocations: 0 / 434 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.271, allocations: 42.55 kB / 434 MB, free: 4.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.271, allocations: 0 / 434 MB, free: 4.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002737/0.2713, allocations: 89.44 kB / 434.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.2713, allocations: 51.41 kB / 434.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.866e-05/0.2714, allocations: 105.8 kB / 434.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2714, allocations: 25.7 kB / 434.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.789e-05/0.2715, allocations: 84.14 kB / 434.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.2715, allocations: 4 kB / 434.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.2715, allocations: 21.7 kB / 434.4 MB, free: 3.586 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2717, allocations: 310.8 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.2717, allocations: 7.938 kB / 434.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.2718, allocations: 27.44 kB / 434.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.812e-05/0.2718, allocations: 47.36 kB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2718, allocations: 0 / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.462e-05/0.2719, allocations: 65.52 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2719, allocations: 8 kB / 434.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2719, allocations: 0 / 434.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.272, allocations: 3.938 kB / 434.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/0.272, allocations: 8.125 kB / 434.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.272, allocations: 4 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.2721, allocations: 3.938 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.2721, allocations: 4 kB / 434.9 MB, free: 3.066 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.0001011/0.2722, allocations: 113.8 kB / 435 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.2723, allocations: 57.61 kB / 435 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.2723, allocations: 11.69 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2723, allocations: 3.938 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2723, allocations: 0 / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2723, allocations: 0 / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.941e-05/0.2724, allocations: 109.3 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2724, allocations: 0 / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.122e-05/0.2725, allocations: 4 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2725, allocations: 3.938 kB / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.2725, allocations: 4.359 kB / 435.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2725, allocations: 0 / 435.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.2725, allocations: 3.938 kB / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.2726, allocations: 97 kB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.2727, allocations: 4 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2727, allocations: 0 / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/0.2727, allocations: 0 / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.2727, allocations: 11.94 kB / 435.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2727, allocations: 3.984 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.589e-05/0.2728, allocations: 83.28 kB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2728, allocations: 0 / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001853/0.2729, allocations: 4 kB / 435.4 MB, free: 2.492 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.0001021/0.273, allocations: 95.25 kB / 435.5 MB, free: 2.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.2732, allocations: 32.2 kB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2732, allocations: 256 / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.2732, allocations: 4 kB / 435.5 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.2734, allocations: 24.02 kB / 435.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.2737, allocations: 121.7 kB / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.186e-05/0.2738, allocations: 67.33 kB / 435.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.47e-05/0.2738, allocations: 0 / 435.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.2738, allocations: 11.44 kB / 435.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.2738, allocations: 0 / 435.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of Templates: time 0.00256/0.2764, allocations: 400.2 kB / 436.1 MB, free: 1.703 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.384763177484274]