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.001774/0.001774, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001962/0.001962, allocations: 204.9 kB / 23.72 MB, free: 4.391 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.49/1.49, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.001953/0.001953, allocations: 63.89 kB / 378.2 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.266, allocations: 53.42 MB / 431.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003229/0.2692, allocations: 1.434 MB / 433.1 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.2695, allocations: 99.62 kB / 433.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.2696, allocations: 0 / 433.2 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.2696, allocations: 11.88 kB / 433.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.2697, allocations: 0 / 433.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.2699, allocations: 31.84 kB / 433.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.27, allocations: 23.92 kB / 433.2 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2702, allocations: 7.984 kB / 433.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.2702, allocations: 11.94 kB / 433.3 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.027e-05/0.2702, allocations: 11.94 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2702, allocations: 0 / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2703, allocations: 4 kB / 433.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.161e-05/0.2703, allocations: 7.984 kB / 433.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.416e-05/0.2703, allocations: 11.92 kB / 433.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.703e-05/0.2704, allocations: 27.7 kB / 433.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.2704, allocations: 4 kB / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2704, allocations: 0 / 433.3 MB, free: 4.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2704, allocations: 0 / 433.3 MB, free: 4.816 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.0005315/0.2709, allocations: 256.8 kB / 433.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.271, allocations: 15.98 kB / 433.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.271, allocations: 4.938 kB / 433.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.2713, allocations: 126.4 kB / 433.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2713, allocations: 384 / 433.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2713, allocations: 8.312 kB / 433.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.2717, allocations: 103.9 kB / 433.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2717, allocations: 192 / 433.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2717, allocations: 7.938 kB / 433.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2717, allocations: 0 / 433.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.2717, allocations: 15.98 kB / 433.8 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.2719, allocations: 97.33 kB / 433.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.2721, allocations: 54.48 kB / 434 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.2721, allocations: 16.89 kB / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.2722, allocations: 0 / 434 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2722, allocations: 34.56 kB / 434 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2722, allocations: 7.938 kB / 434.1 MB, free: 3.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002389/0.2724, allocations: 73.61 kB / 434.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.2725, allocations: 55.41 kB / 434.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2726, allocations: 105.8 kB / 434.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2726, allocations: 25.7 kB / 434.3 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.2727, allocations: 80.14 kB / 434.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.2727, allocations: 3.938 kB / 434.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.2727, allocations: 17.72 kB / 434.4 MB, free: 3.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.2729, allocations: 322.8 kB / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.2729, allocations: 0 / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/0.273, allocations: 31.61 kB / 434.8 MB, free: 3.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.273, allocations: 39.36 kB / 434.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2731, allocations: 4 kB / 434.8 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.169e-05/0.2731, allocations: 45.64 kB / 434.8 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2732, allocations: 8 kB / 434.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2732, allocations: 0 / 434.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.716e-05/0.2732, allocations: 3.938 kB / 434.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.845e-05/0.2733, allocations: 12.11 kB / 434.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2733, allocations: 3.984 kB / 434.9 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.2733, allocations: 11.94 kB / 434.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.2733, allocations: 0 / 434.9 MB, free: 3.059 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 0.0001368/0.2734, allocations: 109.8 kB / 435 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.2736, allocations: 57.64 kB / 435 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.2736, allocations: 3.688 kB / 435 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2736, allocations: 3.938 kB / 435.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.2736, allocations: 4 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2736, allocations: 0 / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.614e-05/0.2737, allocations: 105.3 kB / 435.2 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2737, allocations: 4 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.2738, allocations: 0 / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2738, allocations: 0 / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.2738, allocations: 3.938 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2738, allocations: 0 / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2738, allocations: 11.88 kB / 435.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.2739, allocations: 77.36 kB / 435.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.228e-05/0.2739, allocations: 11.89 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.2739, allocations: 4 kB / 435.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.274, allocations: 4 kB / 435.3 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-06/0.274, allocations: 3.938 kB / 435.3 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.274, allocations: 4 kB / 435.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.974e-05/0.274, allocations: 87.27 kB / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.274, allocations: 0 / 435.4 MB, free: 2.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001857/0.2742, allocations: 4 kB / 435.4 MB, free: 2.5 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.0001368/0.2744, allocations: 91.25 kB / 435.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.2745, allocations: 23.92 kB / 435.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2745, allocations: 8.25 kB / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.71e-07/0.2745, allocations: 0 / 435.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.2747, allocations: 12 kB / 435.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.2751, allocations: 125.6 kB / 435.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.734e-05/0.2751, allocations: 67.33 kB / 435.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.351e-05/0.2752, allocations: 4 kB / 435.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.808e-05/0.2752, allocations: 7.438 kB / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2752, allocations: 0 / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of Templates: time 0.003192/0.2784, allocations: 340.8 kB / 436 MB, free: 1.785 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/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_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: 4.5058067589998245]