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.001678/0.001678, 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.00201/0.00201, allocations: 213.2 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.551/1.551, allocations: 230.6 MB / 258.2 MB, free: 7.824 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.001627/0.001627, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2699, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003114/0.273, allocations: 1.483 MB / 433.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003113/0.2733, allocations: 91.69 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.2734, allocations: 0 / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.2734, allocations: 11.94 kB / 433.9 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.541e-05/0.2735, allocations: 3.938 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2737, allocations: 35.83 kB / 434 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.2738, allocations: 15.98 kB / 434 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2739, allocations: 15.92 kB / 434 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.683e-05/0.274, allocations: 11.94 kB / 434 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.274, allocations: 7.938 kB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.274, allocations: 0 / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.274, allocations: 4 kB / 434 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.274, allocations: 7.984 kB / 434 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.897e-05/0.2741, allocations: 15.92 kB / 434 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.2e-05/0.2742, allocations: 30.86 kB / 434.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2742, allocations: 3.938 kB / 434.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2742, allocations: 0 / 434.1 MB, free: 5.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.2742, allocations: 0 / 434.1 MB, free: 5.004 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.0004388/0.2746, allocations: 262 kB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2747, allocations: 12.02 kB / 434.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.2747, allocations: 4.891 kB / 434.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2749, allocations: 118.5 kB / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.2749, allocations: 384 / 434.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.2749, allocations: 8.375 kB / 434.5 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.2753, allocations: 111.8 kB / 434.6 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2753, allocations: 4.125 kB / 434.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.2753, allocations: 3.938 kB / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2753, allocations: 0 / 434.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.2754, allocations: 19.98 kB / 434.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001215/0.2755, allocations: 109.3 kB / 434.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.2756, allocations: 50.55 kB / 434.8 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.2757, allocations: 20.89 kB / 434.8 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2757, allocations: 4.031 kB / 434.8 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.2758, allocations: 34.5 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.021e-06/0.2758, allocations: 0 / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002337/0.276, allocations: 73.61 kB / 434.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.2761, allocations: 55.41 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.772e-05/0.2761, allocations: 113.8 kB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2762, allocations: 25.7 kB / 435.1 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.2762, allocations: 80.14 kB / 435.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.858e-06/0.2762, allocations: 8 kB / 435.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.2762, allocations: 9.719 kB / 435.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2764, allocations: 322.8 kB / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.2764, allocations: 0 / 435.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.2764, allocations: 31.38 kB / 435.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.2765, allocations: 31.44 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2765, allocations: 4 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.013e-05/0.2766, allocations: 61.5 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2766, allocations: 4 kB / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2766, allocations: 256 / 435.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.2766, allocations: 7.938 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.924e-05/0.2766, allocations: 11.94 kB / 435.6 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2767, allocations: 3.984 kB / 435.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.2767, allocations: 16.08 kB / 435.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.2767, allocations: 0 / 435.7 MB, free: 3.215 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 8.198e-05/0.2768, allocations: 113.8 kB / 435.8 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.2769, allocations: 57.91 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/0.2769, allocations: 12.03 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2769, allocations: 7.922 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2769, allocations: 0 / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.2769, allocations: 0 / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.093e-05/0.277, allocations: 101.3 kB / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.277, allocations: 0 / 436 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.277, allocations: 15.98 kB / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.277, allocations: 0 / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.277, allocations: 0 / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2771, allocations: 0 / 436 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.2771, allocations: 3.938 kB / 436 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.2772, allocations: 93 kB / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.084e-06/0.2772, allocations: 0 / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.2772, allocations: 0 / 436.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.471e-05/0.2772, allocations: 4 kB / 436.1 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-06/0.2773, allocations: 3.938 kB / 436.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.2773, allocations: 8 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.2773, allocations: 83.27 kB / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2773, allocations: 0 / 436.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001856/0.2775, allocations: 4 kB / 436.2 MB, free: 2.645 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.0001029/0.2776, allocations: 99.25 kB / 436.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.2777, allocations: 27.92 kB / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.2777, allocations: 0 / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.2777, allocations: 256 / 436.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.2779, allocations: 24.02 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003029/0.2782, allocations: 143.2 kB / 436.5 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.666e-05/0.2783, allocations: 63.34 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.368e-05/0.2783, allocations: 11.44 kB / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.2783, allocations: 3.938 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Templates: time 0.002015/0.2803, allocations: 0.5667 MB / 437.1 MB, free: 1.652 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.854988851118833]