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.001565/0.001565, allocations: 123.5 kB / 18.46 MB, free: 4.613 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.001555/0.001555, allocations: 188.3 kB / 21.39 MB, free: 1.688 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.433/1.433, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.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.001428/0.001428, allocations: 51.91 kB / 366.8 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/0.09178, allocations: 52.14 MB / 419 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.00256/0.09434, allocations: 1.462 MB / 420.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.09459, allocations: 107.6 kB / 420.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.049e-05/0.09464, allocations: 0 / 420.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.596e-05/0.09467, allocations: 3.938 kB / 420.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.435e-05/0.09471, allocations: 3.938 kB / 420.5 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.09491, allocations: 19.97 kB / 420.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.252e-05/0.09498, allocations: 27.92 kB / 420.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.09506, allocations: 4 kB / 420.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.751e-05/0.09509, allocations: 15.91 kB / 420.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.09513, allocations: 11.94 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.09514, allocations: 4 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-06/0.09515, allocations: 4 kB / 420.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.014e-05/0.09518, allocations: 11.98 kB / 420.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.09522, allocations: 11.88 kB / 420.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.67e-05/0.09529, allocations: 31.78 kB / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.0953, allocations: 0 / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0953, allocations: 0 / 420.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.0953, allocations: 0 / 420.7 MB, free: 10.35 MB / 350.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.0004139/0.09572, allocations: 351.3 kB / 421 MB, free: 9.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.09574, allocations: 8.031 kB / 421 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.891e-05/0.09577, allocations: 4.922 kB / 421 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.09597, allocations: 180.3 kB / 421.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.09597, allocations: 384 / 421.2 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.09599, allocations: 8.375 kB / 421.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002815/0.09627, allocations: 99.88 kB / 421.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.09628, allocations: 4.188 kB / 421.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.09629, allocations: 7.875 kB / 421.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.09629, allocations: 4 kB / 421.3 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.09637, allocations: 23.92 kB / 421.4 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.09652, allocations: 157.7 kB / 421.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.09667, allocations: 46.56 kB / 421.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.895e-05/0.09673, allocations: 24.92 kB / 421.6 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.09674, allocations: 4 kB / 421.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.09677, allocations: 34.55 kB / 421.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09677, allocations: 0 / 421.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002118/0.09698, allocations: 81.48 kB / 421.7 MB, free: 9.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.09703, allocations: 51.41 kB / 421.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.758e-05/0.0971, allocations: 101.9 kB / 421.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.09712, allocations: 29.7 kB / 421.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.09717, allocations: 92.12 kB / 422 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.023e-06/0.09717, allocations: 0 / 422 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.0972, allocations: 21.66 kB / 422 MB, free: 8.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.09733, allocations: 310.8 kB / 422.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.09734, allocations: 7.984 kB / 422.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.09737, allocations: 31.44 kB / 422.3 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.09741, allocations: 35.38 kB / 422.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09742, allocations: 0 / 422.4 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.948e-05/0.0975, allocations: 57.56 kB / 422.4 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.09751, allocations: 12.12 kB / 422.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.09751, allocations: 3.938 kB / 422.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.09753, allocations: 0 / 422.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.09757, allocations: 8 kB / 422.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.09758, allocations: 0 / 422.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.755e-05/0.09759, allocations: 0 / 422.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.0976, allocations: 4 kB / 422.4 MB, free: 8.328 MB / 350.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.592e-05/0.09767, allocations: 117.8 kB / 422.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.09779, allocations: 57.58 kB / 422.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.09782, allocations: 15.84 kB / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.09782, allocations: 0 / 422.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.09782, allocations: 4 kB / 422.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.09782, allocations: 3.984 kB / 422.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.09793, allocations: 157.6 kB / 422.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.09794, allocations: 0 / 422.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.09798, allocations: 4 kB / 422.8 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.09798, allocations: 4 kB / 422.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.09799, allocations: 3.938 kB / 422.8 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.09799, allocations: 3.984 kB / 422.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09799, allocations: 4.25 kB / 422.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.09813, allocations: 81.06 kB / 422.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.09817, allocations: 88.98 kB / 423 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.09819, allocations: 11.94 kB / 423 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.231e-05/0.09821, allocations: 0 / 423 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-06/0.09821, allocations: 0 / 423 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.09821, allocations: 0 / 423 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.626e-05/0.09826, allocations: 91.28 kB / 423.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09826, allocations: 0 / 423.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000181/0.09844, allocations: 0 / 423.1 MB, free: 7.582 MB / 350.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.0001139/0.09855, allocations: 115.6 kB / 423.2 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.09866, allocations: 23.92 kB / 423.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.09866, allocations: 0 / 423.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.09866, allocations: 0 / 423.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.09888, allocations: 30.42 kB / 423.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.09914, allocations: 137.4 kB / 423.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.09942, allocations: 0.6844 MB / 424.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.09944, allocations: 7.438 kB / 424.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.09944, allocations: 0 / 424.1 MB, free: 6.527 MB / 350.1 MB Notification: Performance of Templates: time 0.001809/0.1013, allocations: 0.5473 MB / 424.6 MB, free: 5.977 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.239776622038335]