Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001867/0.001867, allocations: 103.5 kB / 20.44 MB, free: 1.332 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.00239/0.00239, allocations: 188.6 kB / 23.7 MB, free: 4.523 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.473/1.473, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 51.92 kB / 370.9 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2689, allocations: 52.17 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002983/0.2719, allocations: 1.445 MB / 424.5 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003387/0.2722, allocations: 99.69 kB / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.171e-05/0.2723, allocations: 0 / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.828e-05/0.2723, allocations: 3.938 kB / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.2724, allocations: 0 / 424.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002995/0.2727, allocations: 27.84 kB / 424.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.2728, allocations: 27.92 kB / 424.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2729, allocations: 11.98 kB / 424.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.237e-05/0.273, allocations: 11.94 kB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.483e-05/0.273, allocations: 3.938 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.273, allocations: 4 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.135e-05/0.273, allocations: 4 kB / 424.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.2731, allocations: 15.97 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.2731, allocations: 7.938 kB / 424.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.2732, allocations: 27.5 kB / 424.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.2732, allocations: 4 kB / 424.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2732, allocations: 0 / 424.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2732, allocations: 4 kB / 424.8 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.0004613/0.2737, allocations: 264.8 kB / 425 MB, free: 12.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2737, allocations: 8.031 kB / 425 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.2738, allocations: 8.922 kB / 425 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.274, allocations: 134.4 kB / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.274, allocations: 384 / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.274, allocations: 384 / 425.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.2744, allocations: 111.8 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.2744, allocations: 4.188 kB / 425.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.2744, allocations: 3.938 kB / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.2744, allocations: 4 kB / 425.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.2745, allocations: 11.98 kB / 425.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001378/0.2746, allocations: 105.3 kB / 425.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.2748, allocations: 62.52 kB / 425.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.9e-05/0.2748, allocations: 16.89 kB / 425.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2749, allocations: 4 kB / 425.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.2749, allocations: 34.55 kB / 425.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.2749, allocations: 0 / 425.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002343/0.2751, allocations: 77.56 kB / 425.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.2752, allocations: 63.34 kB / 425.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.2753, allocations: 105.8 kB / 425.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.2753, allocations: 25.7 kB / 425.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.84e-05/0.2754, allocations: 80.14 kB / 425.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.476e-06/0.2754, allocations: 4 kB / 425.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.2754, allocations: 17.66 kB / 425.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2755, allocations: 322.8 kB / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.2756, allocations: 0 / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.2756, allocations: 23.44 kB / 426.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.302e-05/0.2756, allocations: 39.38 kB / 426.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2756, allocations: 0 / 426.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.314e-05/0.2757, allocations: 57.62 kB / 426.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2757, allocations: 10.19 kB / 426.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2758, allocations: 0 / 426.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.2758, allocations: 7.875 kB / 426.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.2758, allocations: 20.05 kB / 426.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2758, allocations: 0 / 426.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.2759, allocations: 0 / 426.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.2759, 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 9.038e-05/0.276, allocations: 109.8 kB / 426.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.2761, allocations: 57.64 kB / 426.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.2761, allocations: 7.984 kB / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2761, allocations: 7.938 kB / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2761, allocations: 0 / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2761, allocations: 4 kB / 426.5 MB, free: 10.78 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.999e-05/0.2762, allocations: 101.6 kB / 426.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2762, allocations: 0 / 426.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.2763, allocations: 19.92 kB / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2763, allocations: 0 / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2763, allocations: 0 / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2763, allocations: 0 / 426.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.2763, allocations: 7.922 kB / 426.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.2764, allocations: 81.11 kB / 426.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.2764, allocations: 7.953 kB / 426.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.2765, allocations: 8 kB / 426.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.512e-05/0.2765, allocations: 4.375 kB / 426.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-06/0.2765, allocations: 3.938 kB / 426.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2765, allocations: 0 / 426.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.597e-05/0.2766, allocations: 83.27 kB / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2766, allocations: 0 / 426.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001991/0.2768, allocations: 8 kB / 426.9 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001134/0.2769, allocations: 95.25 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.277, allocations: 36.09 kB / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.277, allocations: 0 / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.277, allocations: 0 / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2772, allocations: 27.94 kB / 427 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002893/0.2775, allocations: 117.5 kB / 427.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.964e-05/0.2776, allocations: 71.2 kB / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.253e-05/0.2776, allocations: 0 / 427.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.718e-05/0.2776, allocations: 15.38 kB / 427.2 MB, free: 10 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2776, allocations: 64 / 427.2 MB, free: 10 MB / 334.1 MB Notification: Performance of Templates: time 0.002492/0.2801, allocations: 339.1 kB / 427.5 MB, free: 9.676 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.473700907081366]