Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.001272/0.001272, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001483/0.001483, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 55.91 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2245, allocations: 53.36 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002756/0.2273, allocations: 1.493 MB / 433.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002732/0.2275, allocations: 99.62 kB / 434 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.2276, allocations: 0 / 434 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.2276, allocations: 3.938 kB / 434 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.117e-05/0.2277, allocations: 3.938 kB / 434 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.2279, allocations: 23.97 kB / 434 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.988e-05/0.228, allocations: 31.86 kB / 434.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.2281, allocations: 7.984 kB / 434.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.2281, allocations: 8 kB / 434.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.2282, allocations: 7.938 kB / 434.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.2282, allocations: 4 kB / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.875e-06/0.2282, allocations: 0 / 434.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.22e-05/0.2282, allocations: 19.86 kB / 434.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.2282, allocations: 11.92 kB / 434.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.331e-05/0.2283, allocations: 27.56 kB / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2283, allocations: 0 / 434.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2283, allocations: 4 kB / 434.1 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2283, allocations: 0 / 434.1 MB, free: 5.195 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.0004092/0.2287, allocations: 263.9 kB / 434.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2288, allocations: 8.031 kB / 434.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.2288, allocations: 12.88 kB / 434.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.229, allocations: 110.5 kB / 434.5 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.229, allocations: 8.375 kB / 434.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/0.229, allocations: 8.25 kB / 434.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.2293, allocations: 115.8 kB / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.2293, allocations: 192 / 434.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.2293, allocations: 3.938 kB / 434.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.2293, allocations: 0 / 434.7 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.717e-05/0.2294, allocations: 23.92 kB / 434.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.2296, allocations: 136.7 kB / 434.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.2297, allocations: 50.55 kB / 434.9 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.06e-05/0.2298, allocations: 24.92 kB / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.2298, allocations: 0 / 434.9 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.2298, allocations: 30.56 kB / 434.9 MB, free: 4.285 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2298, allocations: 4 kB / 434.9 MB, free: 4.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002168/0.23, allocations: 77.55 kB / 435 MB, free: 4.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.2301, allocations: 55.41 kB / 435.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.793e-05/0.2302, allocations: 109.8 kB / 435.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.2302, allocations: 25.7 kB / 435.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.2302, allocations: 80.14 kB / 435.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.2303, allocations: 7.984 kB / 435.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.2303, allocations: 17.72 kB / 435.3 MB, free: 3.871 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2304, allocations: 314.8 kB / 435.6 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.2304, allocations: 4 kB / 435.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.2305, allocations: 31.59 kB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.2305, allocations: 39.38 kB / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2305, allocations: 0 / 435.7 MB, free: 3.457 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.195e-05/0.2306, allocations: 57.56 kB / 435.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2306, allocations: 4 kB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.2306, allocations: 3.938 kB / 435.7 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2306, allocations: 4 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.564e-05/0.2307, allocations: 4 kB / 435.7 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.2307, allocations: 8.125 kB / 435.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.2307, allocations: 7.953 kB / 435.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-06/0.2307, allocations: 0 / 435.8 MB, free: 3.363 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: 0 () * 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 7.752e-05/0.2308, allocations: 109.8 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.2309, allocations: 65.61 kB / 435.9 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.2309, allocations: 7.938 kB / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2309, allocations: 0 / 435.9 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2309, allocations: 3.938 kB / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.2309, allocations: 0 / 435.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.828e-05/0.231, allocations: 132.7 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.231, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.2311, allocations: 8 kB / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2311, allocations: 0 / 436.1 MB, free: 2.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.2311, allocations: 7.875 kB / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2311, allocations: 0 / 436.1 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2311, allocations: 4 kB / 436.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.2312, allocations: 93 kB / 436.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.2312, allocations: 4 kB / 436.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.2312, allocations: 4.188 kB / 436.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.161e-05/0.2313, allocations: 11.98 kB / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-06/0.2313, allocations: 0 / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.2313, allocations: 0 / 436.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.632e-05/0.2313, allocations: 83.28 kB / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2313, allocations: 0 / 436.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001815/0.2315, allocations: 4 kB / 436.3 MB, free: 2.75 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: 0 () * 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 9.698e-05/0.2316, allocations: 99.25 kB / 436.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.2317, allocations: 27.92 kB / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2317, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.2317, allocations: 0 / 436.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.2319, allocations: 20.02 kB / 436.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.2322, allocations: 147.2 kB / 436.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2325, allocations: 0.6848 MB / 437.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.2325, allocations: 11.42 kB / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2325, allocations: 0 / 437.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of Templates: time 0.001897/0.2344, allocations: 0.5432 MB / 437.8 MB, free: 1.156 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.4443118560593575]