Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001386/0.001386, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001517/0.001517, allocations: 187.1 kB / 23.7 MB, free: 4.188 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.499/1.499, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 43.92 kB / 370.9 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2704, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002958/0.2734, allocations: 1.464 MB / 424.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.2736, allocations: 31.84 kB / 424.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.2737, allocations: 0 / 424.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.845e-05/0.2737, allocations: 3.938 kB / 424.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.2737, allocations: 4 kB / 424.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.274, allocations: 23.91 kB / 424.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.465e-05/0.2741, allocations: 23.98 kB / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.2742, allocations: 11.98 kB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.875e-05/0.2742, allocations: 15.92 kB / 424.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.2743, allocations: 15.86 kB / 424.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.2743, allocations: 11.94 kB / 424.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.214e-05/0.2743, allocations: 4 kB / 424.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.907e-05/0.2743, allocations: 4 kB / 424.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.2743, allocations: 11.94 kB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.882e-05/0.2744, allocations: 34.34 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2744, allocations: 4 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2744, allocations: 0 / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.2745, allocations: 0 / 424.7 MB, free: 12.82 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.0004424/0.2749, allocations: 274 kB / 425 MB, free: 12.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2749, allocations: 8.031 kB / 425 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.275, allocations: 4.938 kB / 425 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.2752, allocations: 122.5 kB / 425.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.2752, allocations: 4.375 kB / 425.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.2752, allocations: 384 / 425.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.2756, allocations: 119.8 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2756, allocations: 192 / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.2756, allocations: 3.938 kB / 425.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2756, allocations: 3.984 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.2758, allocations: 27.98 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2759, allocations: 105.3 kB / 425.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.2761, allocations: 54.53 kB / 425.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.729e-05/0.2762, allocations: 28.92 kB / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.2762, allocations: 0 / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.2762, allocations: 38.5 kB / 425.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2762, allocations: 0 / 425.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002802/0.2765, allocations: 85.55 kB / 425.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2766, allocations: 55.41 kB / 425.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.2766, allocations: 105.8 kB / 425.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2767, allocations: 25.7 kB / 425.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.2767, allocations: 92.08 kB / 425.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.2767, allocations: 0 / 425.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/0.2768, allocations: 21.7 kB / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2769, allocations: 314.8 kB / 426.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.2769, allocations: 4 kB / 426.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.764e-05/0.277, allocations: 35.36 kB / 426.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.503e-05/0.277, allocations: 35.38 kB / 426.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.277, allocations: 4 kB / 426.3 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.403e-05/0.2771, allocations: 61.62 kB / 426.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.2771, allocations: 4 kB / 426.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2771, allocations: 4 kB / 426.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2772, allocations: 3.938 kB / 426.4 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.2772, allocations: 11.94 kB / 426.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.2772, allocations: 0 / 426.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.2772, allocations: 7.891 kB / 426.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.2773, allocations: 4 kB / 426.4 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: 2 ($CLKPRE.step.counter,step.counter) * 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.766e-05/0.2773, allocations: 121.9 kB / 426.5 MB, free: 10.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.2775, allocations: 65.66 kB / 426.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.2775, allocations: 8 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2775, allocations: 3.938 kB / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2775, allocations: 0 / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2775, allocations: 0 / 426.6 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.212e-05/0.2776, allocations: 105.3 kB / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2776, allocations: 0 / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.572e-05/0.2777, allocations: 8 kB / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2777, allocations: 0 / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.2777, allocations: 4.375 kB / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2777, allocations: 0 / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.2777, allocations: 11.92 kB / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.2779, allocations: 97 kB / 426.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.2779, allocations: 3.938 kB / 426.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2779, allocations: 4 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.341e-05/0.2779, allocations: 3.984 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-06/0.2779, allocations: 4.219 kB / 426.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.2779, allocations: 8 kB / 426.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.278, allocations: 79.28 kB / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.278, allocations: 0 / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001936/0.2782, allocations: 12 kB / 426.9 MB, free: 10.38 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: 1 (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.0001166/0.2783, allocations: 99.23 kB / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.2785, allocations: 31.91 kB / 427 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2785, allocations: 0 / 427 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.2785, allocations: 4 kB / 427 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.2787, allocations: 23.97 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.2791, allocations: 125.6 kB / 427.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.2792, allocations: 75.44 kB / 427.3 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.626e-05/0.2793, allocations: 4 kB / 427.3 MB, free: 9.969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.2793, allocations: 7.438 kB / 427.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2793, allocations: 0 / 427.3 MB, free: 9.961 MB / 334.1 MB Notification: Performance of Templates: time 0.003332/0.2826, allocations: 474.3 kB / 427.7 MB, free: 9.512 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.492230720818043]