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.000928/0.000928, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009246/0.0009246, allocations: 166.4 kB / 24.99 MB, free: 8.746 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 1.056/1.056, allocations: 177.1 MB / 205.3 MB, free: 5.641 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 2.034e-06/2.034e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.287e-05/3.491e-05, allocations: 2.312 kB / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002783/0.002818, allocations: 1.49 MB / 274.5 MB, free: 364 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002796/0.003098, allocations: 99.61 kB / 274.6 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.061e-05/0.003168, allocations: 11.88 kB / 274.7 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.003194, allocations: 0 / 274.7 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/0.003231, allocations: 7.922 kB / 274.7 MB, free: 244 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.00347, allocations: 15.98 kB / 274.7 MB, free: 228 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.545e-05/0.003555, allocations: 27.91 kB / 274.7 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.003655, allocations: 8 kB / 274.7 MB, free: 192 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.003706, allocations: 23.86 kB / 274.7 MB, free: 168 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.783e-05/0.003744, allocations: 7.984 kB / 274.7 MB, free: 160 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.003768, allocations: 4 kB / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.003775, allocations: 0 / 274.7 MB, free: 156 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.003798, allocations: 11.94 kB / 274.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.651e-05/0.003824, allocations: 4 kB / 274.8 MB, free: 140 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.169e-05/0.003916, allocations: 19.91 kB / 274.8 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003918, allocations: 0 / 274.8 MB, free: 120 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.003919, allocations: 0 / 274.8 MB, free: 120 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.003924, allocations: 3.938 kB / 274.8 MB, free: 116 kB / 250.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.0003691/0.004293, allocations: 368.6 kB / 275.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.004334, allocations: 16.02 kB / 275.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.004374, allocations: 8.891 kB / 275.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.004533, allocations: 116.6 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.004543, allocations: 384 / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.004555, allocations: 4.375 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.004792, allocations: 114.1 kB / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.004799, allocations: 192 / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.004809, allocations: 4.375 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.004817, allocations: 384 / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.004857, allocations: 7.938 kB / 275.4 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001055/0.004962, allocations: 120.6 kB / 275.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/0.005044, allocations: 43.05 kB / 275.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.005076, allocations: 19.72 kB / 275.6 MB, free: 15.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.005095, allocations: 3.984 kB / 275.6 MB, free: 15.17 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.005122, allocations: 45.33 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.005123, allocations: 0 / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001561/0.005279, allocations: 45.73 kB / 275.7 MB, free: 15.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.005326, allocations: 59.39 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.268e-05/0.005408, allocations: 169.9 kB / 275.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.005419, allocations: 25.7 kB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.005458, allocations: 134.9 kB / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.00546, allocations: 0 / 276.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.005479, allocations: 19.38 kB / 276.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.005584, allocations: 492.1 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.288e-06/0.005588, allocations: 0 / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.005593, allocations: 4.188 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.719e-05/0.00562, allocations: 119.2 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/0.005647, allocations: 131.2 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.208e-05/0.005679, allocations: 29.7 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.005717, allocations: 133.8 kB / 277 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.005743, allocations: 119.2 kB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.229e-05/0.005816, allocations: 242.3 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-05/0.005842, allocations: 123.2 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.937e-05/0.005902, allocations: 242.3 kB / 277.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.00595, allocations: 127.1 kB / 277.8 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.005974, allocations: 119.2 kB / 277.9 MB, free: 12.75 MB / 266.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 8.052e-05/0.006054, allocations: 283.7 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.999e-05/0.006104, allocations: 49.64 kB / 278.2 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.00613, allocations: 8 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006132, allocations: 0 / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.006136, allocations: 3.984 kB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.006141, allocations: 7.938 kB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.309e-05/0.006194, allocations: 112.6 kB / 278.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.006197, allocations: 4 kB / 278.4 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.006262, allocations: 7.984 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006264, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.00627, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.006273, allocations: 4 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006274, allocations: 0 / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.619e-05/0.00634, allocations: 92.27 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-06/0.006347, allocations: 4 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.006356, allocations: 4 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.087e-06/0.006365, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-06/0.006368, allocations: 4 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.006372, allocations: 0 / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.006409, allocations: 127.2 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006409, allocations: 0 / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001313/0.00654, allocations: 4 kB / 278.6 MB, free: 11.98 MB / 266.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 8.571e-05/0.006626, allocations: 107.4 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.322e-05/0.006679, allocations: 7.984 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00668, allocations: 0 / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-07/0.006681, allocations: 0 / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.006859, allocations: 17.06 kB / 278.8 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002304/0.007089, allocations: 120.8 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.575e-05/0.007125, allocations: 59.34 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.153e-06/0.007132, allocations: 0 / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.007154, allocations: 8.5 kB / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007155, allocations: 0 / 278.9 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Templates: time 0.001832/0.008987, allocations: 311 kB / 279.2 MB, free: 11.3 MB / 266.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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9122669850476086]