Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001684/0.001684, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001431/0.001431, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.468/1.468, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 43.92 kB / 379 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2682, allocations: 53.36 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.00289/0.2711, allocations: 1.473 MB / 433.8 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.2713, allocations: 31.84 kB / 433.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.281e-05/0.2714, allocations: 4 kB / 433.8 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.162e-05/0.2714, allocations: 3.938 kB / 433.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.773e-05/0.2714, allocations: 3.938 kB / 433.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2717, allocations: 27.91 kB / 433.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.44e-05/0.2718, allocations: 27.92 kB / 433.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2719, allocations: 4 kB / 433.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.275e-05/0.2719, allocations: 23.88 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.309e-05/0.272, allocations: 11.92 kB / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.272, allocations: 0 / 433.9 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.272, allocations: 4 kB / 434 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.272, allocations: 7.984 kB / 434 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.2721, allocations: 15.92 kB / 434 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.2722, allocations: 25.88 kB / 434 MB, free: 5.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2722, allocations: 4 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2722, allocations: 0 / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2722, allocations: 0 / 434 MB, free: 5.082 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.0004421/0.2726, allocations: 269.9 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2726, allocations: 12.03 kB / 434.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.2727, allocations: 8.891 kB / 434.3 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.2729, allocations: 126.5 kB / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2729, allocations: 384 / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.2729, allocations: 384 / 434.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.2733, allocations: 119.8 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.2733, allocations: 192 / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.2733, allocations: 3.938 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2733, allocations: 8 kB / 434.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.2734, allocations: 23.97 kB / 434.6 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001431/0.2736, allocations: 101.3 kB / 434.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.2737, allocations: 62.47 kB / 434.7 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.2738, allocations: 24.92 kB / 434.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2738, allocations: 0 / 434.7 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.2739, allocations: 34.56 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2739, allocations: 0 / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002998/0.2742, allocations: 81.55 kB / 434.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.2742, allocations: 63.33 kB / 434.9 MB, free: 4.027 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.742e-05/0.2743, allocations: 105.9 kB / 435 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.2743, allocations: 25.7 kB / 435.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.2744, allocations: 88.12 kB / 435.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.2744, allocations: 4 kB / 435.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.2744, allocations: 17.72 kB / 435.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.2746, allocations: 310.8 kB / 435.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.2746, allocations: 11.98 kB / 435.5 MB, free: 3.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.2746, allocations: 31.69 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.2747, allocations: 39.38 kB / 435.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.2747, allocations: 7.938 kB / 435.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.1e-05/0.2748, allocations: 57.58 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2748, allocations: 8 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2748, allocations: 0 / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2748, allocations: 7.875 kB / 435.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.2749, allocations: 11.94 kB / 435.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2749, allocations: 3.984 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.2749, allocations: 12.06 kB / 435.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.2749, allocations: 4 kB / 435.7 MB, free: 3.23 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: 2 ($CLKPRE.step.counter,step.counter) * 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 8.095e-05/0.275, allocations: 109.8 kB / 435.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.2751, allocations: 65.67 kB / 435.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.2752, allocations: 4 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.2752, allocations: 3.938 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2752, allocations: 0 / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2752, allocations: 0 / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.461e-05/0.2753, allocations: 109.3 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.2753, allocations: 0 / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.2753, allocations: 19.92 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2753, allocations: 0 / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.2753, allocations: 4 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2753, allocations: 0 / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2753, allocations: 3.938 kB / 436 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2755, allocations: 85.11 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-06/0.2755, allocations: 4.281 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.2755, allocations: 7.984 kB / 436.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.115e-05/0.2756, allocations: 4 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-06/0.2756, allocations: 3.938 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.2756, allocations: 3.984 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.184e-05/0.2756, allocations: 91.39 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2756, allocations: 0 / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001937/0.2758, allocations: 8 kB / 436.2 MB, free: 2.641 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: 1 (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.0001019/0.2759, allocations: 99.19 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001438/0.2761, allocations: 31.92 kB / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2761, allocations: 0 / 436.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.81e-07/0.2761, 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.000287/0.2764, allocations: 34.25 kB / 436.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2767, allocations: 151.3 kB / 436.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.2768, allocations: 67.34 kB / 436.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.2768, allocations: 7.438 kB / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2768, allocations: 0 / 436.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of Templates: time 0.002537/0.2794, allocations: 0.6271 MB / 437.2 MB, free: 1.574 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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: 6.75373225286603]