Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 225.7 MB / 253.3 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 59.91 kB / 371.7 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.315, allocations: 52.17 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002867/0.3178, allocations: 1.475 MB / 425.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.3182, allocations: 99.69 kB / 425.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.3183, allocations: 0 / 425.4 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.363e-05/0.3183, allocations: 3.938 kB / 425.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.3184, allocations: 0 / 425.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002799/0.3186, allocations: 27.91 kB / 425.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.668e-05/0.3187, allocations: 27.92 kB / 425.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3189, allocations: 4 kB / 425.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.3189, allocations: 15.92 kB / 425.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.3189, allocations: 3.938 kB / 425.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.319, allocations: 4 kB / 425.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-06/0.319, allocations: 4 kB / 425.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.319, allocations: 11.98 kB / 425.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.319, allocations: 11.92 kB / 425.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.3191, allocations: 27.56 kB / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3191, allocations: 3.938 kB / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3191, allocations: 0 / 425.5 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.3192, allocations: 4 kB / 425.5 MB, free: 12.78 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.0004974/0.3197, allocations: 261.3 kB / 425.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.3197, allocations: 8.031 kB / 425.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.845e-05/0.3197, allocations: 4.938 kB / 425.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.32, allocations: 138.3 kB / 425.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.32, allocations: 384 / 425.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.32, allocations: 4.375 kB / 426 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.3205, allocations: 111.8 kB / 426.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3205, allocations: 4.188 kB / 426.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3205, allocations: 3.938 kB / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3205, allocations: 0 / 426.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3206, allocations: 19.98 kB / 426.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001259/0.3208, allocations: 101.3 kB / 426.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.3209, allocations: 54.5 kB / 426.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.941e-05/0.321, allocations: 24.86 kB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.321, allocations: 4 kB / 426.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.321, allocations: 34.56 kB / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.321, allocations: 0 / 426.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002221/0.3212, allocations: 77.55 kB / 426.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3213, allocations: 63.34 kB / 426.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.28e-05/0.3214, allocations: 105.9 kB / 426.5 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3214, allocations: 25.7 kB / 426.6 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.3215, allocations: 88.12 kB / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.3215, allocations: 0 / 426.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.3215, allocations: 13.72 kB / 426.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3216, allocations: 314.8 kB / 427 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.406e-05/0.3217, allocations: 7.984 kB / 427 MB, free: 11.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/0.3217, allocations: 23.44 kB / 427 MB, free: 11.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.796e-05/0.3217, allocations: 39.38 kB / 427 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3217, allocations: 0 / 427 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.518e-05/0.3218, allocations: 57.62 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3218, allocations: 4 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3218, allocations: 4 kB / 427.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3219, allocations: 3.938 kB / 427.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.3219, allocations: 20.25 kB / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3219, allocations: 0 / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.077e-05/0.3219, allocations: 4 kB / 427.1 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.3219, allocations: 4 kB / 427.1 MB, free: 10.98 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.673e-05/0.322, allocations: 113.8 kB / 427.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3221, allocations: 57.92 kB / 427.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.3222, allocations: 4 kB / 427.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3222, allocations: 7.969 kB / 427.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3222, allocations: 4 kB / 427.3 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.3222, allocations: 3.984 kB / 427.3 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.3223, allocations: 105.3 kB / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3223, allocations: 0 / 427.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.3223, allocations: 11.92 kB / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3223, allocations: 0 / 427.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.3223, allocations: 4 kB / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3223, allocations: 0 / 427.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3223, allocations: 3.938 kB / 427.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.3225, allocations: 81.11 kB / 427.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.113e-05/0.3225, allocations: 7.953 kB / 427.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.3225, allocations: 0 / 427.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.3225, allocations: 8 kB / 427.5 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-06/0.3225, allocations: 3.938 kB / 427.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.3225, allocations: 7.938 kB / 427.6 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.989e-05/0.3226, allocations: 83.27 kB / 427.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3226, allocations: 0 / 427.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001809/0.3228, allocations: 8 kB / 427.6 MB, free: 10.41 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 0.000105/0.3229, allocations: 99.19 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.323, allocations: 20.17 kB / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.323, allocations: 4.062 kB / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-07/0.323, allocations: 0 / 427.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3232, allocations: 33.33 kB / 427.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.3235, allocations: 143.3 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.679e-05/0.3236, allocations: 71.2 kB / 428 MB, free: 9.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.3236, allocations: 7.438 kB / 428 MB, free: 9.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3236, allocations: 0 / 428 MB, free: 9.98 MB / 334.1 MB Notification: Performance of Templates: time 0.002185/0.3258, allocations: 0.5589 MB / 428.6 MB, free: 9.422 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.703750224318355]