Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001869/0.001869, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002287/0.002287, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.446/1.446, 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 51.92 kB / 379 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2242, allocations: 53.36 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00273/0.2269, allocations: 1.446 MB / 433.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.2271, allocations: 27.91 kB / 433.8 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.2272, allocations: 7.938 kB / 433.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.2272, allocations: 3.938 kB / 433.8 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.2273, allocations: 7.938 kB / 433.8 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.2275, allocations: 27.95 kB / 433.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.447e-05/0.2276, allocations: 27.92 kB / 433.9 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.2277, allocations: 7.984 kB / 433.9 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.2278, allocations: 11.94 kB / 433.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.954e-05/0.2278, allocations: 11.92 kB / 433.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2278, allocations: 4 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.2278, allocations: 4 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.2279, allocations: 7.984 kB / 433.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.2279, allocations: 11.94 kB / 433.9 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.042e-05/0.228, allocations: 38.78 kB / 434 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.228, allocations: 4 kB / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.228, allocations: 0 / 434 MB, free: 5.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.228, allocations: 0 / 434 MB, free: 5.09 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.0004063/0.2284, allocations: 266 kB / 434.2 MB, free: 4.801 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2284, allocations: 11.97 kB / 434.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2285, allocations: 8.891 kB / 434.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.2287, allocations: 118.5 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2287, allocations: 4.375 kB / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2287, allocations: 384 / 434.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.2291, allocations: 119.9 kB / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2291, allocations: 192 / 434.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.2291, allocations: 7.922 kB / 434.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2291, allocations: 4 kB / 434.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2292, allocations: 23.92 kB / 434.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001184/0.2294, allocations: 109.3 kB / 434.6 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.2295, allocations: 54.55 kB / 434.7 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.579e-05/0.2296, allocations: 24.92 kB / 434.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.2296, allocations: 4 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.2296, allocations: 34.56 kB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.2296, allocations: 0 / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002749/0.2299, allocations: 81.53 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.23, allocations: 55.41 kB / 434.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.2301, allocations: 105.8 kB / 435 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2301, allocations: 33.64 kB / 435 MB, free: 3.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.2301, allocations: 80.14 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.2301, allocations: 7.984 kB / 435.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.2302, allocations: 17.72 kB / 435.1 MB, free: 3.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2303, allocations: 314.8 kB / 435.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.2303, allocations: 8 kB / 435.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.373e-05/0.2304, allocations: 35.36 kB / 435.5 MB, free: 3.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.2304, allocations: 39.38 kB / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2304, allocations: 0 / 435.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.39e-05/0.2305, allocations: 61.52 kB / 435.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2305, allocations: 12.12 kB / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2305, allocations: 0 / 435.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2305, allocations: 4.312 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.2306, allocations: 12 kB / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2306, allocations: 0 / 435.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.2306, allocations: 11.94 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.2306, allocations: 0 / 435.6 MB, free: 3.254 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 8.234e-05/0.2307, allocations: 117.8 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.2309, allocations: 69.75 kB / 435.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.2309, allocations: 8 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2309, allocations: 11.97 kB / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2309, allocations: 0 / 435.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2309, allocations: 4 kB / 435.8 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.895e-05/0.231, allocations: 101.3 kB / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.231, allocations: 0 / 435.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/0.231, allocations: 8 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.231, allocations: 0 / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.2311, allocations: 7.984 kB / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2311, allocations: 0 / 435.9 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2311, allocations: 3.938 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.2312, allocations: 85.11 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.047e-05/0.2313, allocations: 15.89 kB / 436 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.2313, allocations: 3.938 kB / 436 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.487e-05/0.2313, allocations: 7.984 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-06/0.2313, allocations: 3.938 kB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2313, allocations: 0 / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.901e-05/0.2314, allocations: 87.28 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2314, allocations: 0 / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.2315, allocations: 4 kB / 436.1 MB, free: 2.652 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.0001013/0.2316, allocations: 99.23 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.2318, allocations: 31.92 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2318, allocations: 0 / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2318, allocations: 0 / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.232, allocations: 34.02 kB / 436.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.2323, allocations: 121.6 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.485e-05/0.2324, allocations: 63.34 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.878e-05/0.2324, allocations: 0 / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.2324, allocations: 11.69 kB / 436.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2324, allocations: 4 kB / 436.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of Templates: time 0.002776/0.2352, allocations: 490.3 kB / 437 MB, free: 1.773 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.220849951001583]