Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0008799/0.0008799, allocations: 87.67 kB / 21.44 MB, free: 3.113 MB / 18.57 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.004137/0.004137, allocations: 152.5 kB / 24.69 MB, free: 9.426 MB / 18.57 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 0.8305/0.8305, allocations: 177.1 MB / 205 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.012e-05, allocations: 6.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001815/0.001836, allocations: 1.46 MB / 327.3 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002593/0.002095, allocations: 99.61 kB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.459e-05/0.002159, allocations: 3.938 kB / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.378e-05/0.002193, allocations: 0 / 327.4 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.896e-05/0.002232, allocations: 3.938 kB / 327.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/0.002456, allocations: 27.91 kB / 327.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.002535, allocations: 31.86 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.002622, allocations: 8 kB / 327.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.002663, allocations: 11.98 kB / 327.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.002703, allocations: 19.91 kB / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.002724, allocations: 0 / 327.5 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.002733, allocations: 4 kB / 327.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.002747, allocations: 0 / 327.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.00277, allocations: 8 kB / 327.5 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.671e-05/0.002846, allocations: 31.83 kB / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.002848, allocations: 0 / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.002849, allocations: 0 / 327.5 MB, free: 13.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.002853, allocations: 0 / 327.5 MB, free: 13.72 MB / 298.7 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.0003056/0.003159, allocations: 273.2 kB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.003191, allocations: 12.03 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.659e-05/0.003218, allocations: 4.891 kB / 327.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.003366, allocations: 113.8 kB / 327.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.003377, allocations: 12.31 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.003386, allocations: 4.375 kB / 327.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.003605, allocations: 107.8 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003613, allocations: 192 / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.003621, allocations: 384 / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.003625, allocations: 384 / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.928e-05/0.003675, allocations: 23.92 kB / 328.1 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.705e-05/0.003762, allocations: 109.3 kB / 328.2 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.003866, allocations: 54.55 kB / 328.2 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.003901, allocations: 24.92 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.003917, allocations: 4 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.003935, allocations: 34.5 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003935, allocations: 0 / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001518/0.004087, allocations: 69.86 kB / 328.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.004123, allocations: 59.33 kB / 328.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.456e-05/0.004177, allocations: 109.8 kB / 328.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.004185, allocations: 25.7 kB / 328.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.667e-05/0.004212, allocations: 84.14 kB / 328.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.004214, allocations: 0 / 328.6 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.00423, allocations: 17.72 kB / 328.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.218e-05/0.004302, allocations: 318.8 kB / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-06/0.004307, allocations: 0 / 329 MB, free: 12.12 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.004312, allocations: 7.938 kB / 329 MB, free: 12.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/0.004332, allocations: 75.28 kB / 329 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-05/0.00435, allocations: 75.28 kB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.276e-05/0.004383, allocations: 29.7 kB / 329.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.004412, allocations: 79.28 kB / 329.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.004431, allocations: 75.28 kB / 329.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.166e-05/0.004472, allocations: 158.5 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.004493, allocations: 75.28 kB / 329.5 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.004527, allocations: 162.5 kB / 329.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.004571, allocations: 83.22 kB / 329.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.004589, allocations: 79.28 kB / 329.8 MB, free: 11.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.311e-05/0.004662, allocations: 185.1 kB / 330 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.004735, allocations: 61.64 kB / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.00476, allocations: 7.984 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.004762, allocations: 0 / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.004766, allocations: 0 / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.004769, allocations: 3.938 kB / 330.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.904e-05/0.004818, allocations: 109.2 kB / 330.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.004821, allocations: 4 kB / 330.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.004879, allocations: 8 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.004881, allocations: 3.938 kB / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.004887, allocations: 256 / 330.2 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.004891, allocations: 8 kB / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.004891, allocations: 0 / 330.2 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.79e-05/0.004969, allocations: 88.98 kB / 330.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.004975, allocations: 3.953 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.004985, allocations: 4 kB / 330.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-06/0.004995, allocations: 7.984 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-06/0.004998, allocations: 3.938 kB / 330.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-06/0.005003, allocations: 4 kB / 330.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.821e-05/0.005032, allocations: 83.28 kB / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005032, allocations: 0 / 330.4 MB, free: 10.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001296/0.005161, allocations: 0 / 330.4 MB, free: 10.58 MB / 298.7 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 6.367e-05/0.005225, allocations: 99.19 kB / 330.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.441e-05/0.005279, allocations: 15.98 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.005281, allocations: 4 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.005281, allocations: 4 kB / 330.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.00545, allocations: 23.95 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.005663, allocations: 135.3 kB / 330.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.311e-05/0.005706, allocations: 71.34 kB / 330.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.005726, allocations: 8.5 kB / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.005727, allocations: 0 / 330.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Templates: time 0.001241/0.006968, allocations: 0.5278 MB / 331.3 MB, free: 9.641 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 3.8524351082742214]