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.00129/0.00129, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00138/0.00138, allocations: 140.3 kB / 24.89 MB, free: 9.207 MB / 18.57 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 0.932/0.932, allocations: 173.3 MB / 201.5 MB, free: 9.164 MB / 186.7 MB " [Timeout remaining time 179] 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 1.242e-06/1.242e-06, allocations: 0 / 268.5 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.523e-05, allocations: 2.312 kB / 268.5 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001871/0.001886, allocations: 1.522 MB / 270 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.002122, allocations: 107.5 kB / 270.1 MB, free: 4.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.002178, allocations: 4 kB / 270.1 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.002201, allocations: 3.938 kB / 270.1 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.002239, allocations: 15.86 kB / 270.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.00244, allocations: 15.98 kB / 270.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.859e-05/0.002519, allocations: 27.91 kB / 270.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.002592, allocations: 8 kB / 270.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.002634, allocations: 19.92 kB / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.219e-05/0.002666, allocations: 0 / 270.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.002681, allocations: 4 kB / 270.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-06/0.002688, allocations: 0 / 270.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.002703, allocations: 11.98 kB / 270.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.817e-05/0.002721, allocations: 11.92 kB / 270.3 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.38e-05/0.002785, allocations: 19.86 kB / 270.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.002787, allocations: 4 kB / 270.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.002787, allocations: 0 / 270.3 MB, free: 4.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.002791, allocations: 0 / 270.3 MB, free: 4.336 MB / 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.0002456/0.003036, allocations: 240.9 kB / 270.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.003065, allocations: 8.031 kB / 270.5 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.969e-05/0.003095, allocations: 8.922 kB / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.003212, allocations: 117.8 kB / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-06/0.003218, allocations: 384 / 270.6 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.003224, allocations: 4.375 kB / 270.6 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.003366, allocations: 100.6 kB / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.003376, allocations: 192 / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.003385, allocations: 384 / 270.7 MB, free: 3.801 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.003423, allocations: 8.297 kB / 270.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/0.003442, allocations: 15.86 kB / 270.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.761e-05/0.003499, allocations: 61.05 kB / 270.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.419e-05/0.003554, allocations: 26.56 kB / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.003572, allocations: 16.84 kB / 270.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.003582, allocations: 4 kB / 270.9 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.003599, allocations: 30.56 kB / 270.9 MB, free: 3.605 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.91e-07/0.003599, allocations: 4 kB / 270.9 MB, free: 3.602 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.355e-05/0.003683, allocations: 45.62 kB / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.003714, allocations: 55.41 kB / 271 MB, free: 3.484 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.806e-05/0.003763, allocations: 106.7 kB / 271.1 MB, free: 3.367 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.003771, allocations: 25.7 kB / 271.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.986e-05/0.003791, allocations: 84.12 kB / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-06/0.003792, allocations: 0 / 271.2 MB, free: 3.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.00381, allocations: 17.7 kB / 271.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.442e-05/0.003875, allocations: 314.8 kB / 271.5 MB, free: 2.91 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-06/0.003877, allocations: 4 kB / 271.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-06/0.003881, allocations: 4 kB / 271.6 MB, free: 2.902 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.817e-05/0.003979, allocations: 75.28 kB / 271.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/0.003994, allocations: 75.28 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.58e-05/0.00403, allocations: 33.64 kB / 271.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.004056, allocations: 82.25 kB / 271.8 MB, free: 2.637 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.004075, allocations: 79.28 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.004118, allocations: 162.5 kB / 272 MB, free: 2.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.71e-05/0.004135, allocations: 79.27 kB / 272.1 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.004164, allocations: 150.6 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.171e-05/0.004206, allocations: 83.47 kB / 272.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.004221, allocations: 79.28 kB / 272.4 MB, free: 2.012 MB / 250.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 5.891e-05/0.00428, allocations: 185.1 kB / 272.6 MB, free: 1.82 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.004328, allocations: 49.62 kB / 272.7 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.158e-05/0.004349, allocations: 8 kB / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.004351, allocations: 0 / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.004352, allocations: 0 / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.004355, allocations: 0 / 272.7 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.418e-05/0.004399, allocations: 73.77 kB / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.004401, allocations: 0 / 272.7 MB, free: 1.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.004453, allocations: 15.94 kB / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.004456, allocations: 0 / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-06/0.004459, allocations: 0 / 272.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.004462, allocations: 3.984 kB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.004463, allocations: 0 / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.664e-05/0.004499, allocations: 57.08 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.004506, allocations: 8.188 kB / 272.8 MB, free: 1.562 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.643e-06/0.004513, allocations: 3.938 kB / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-06/0.00452, allocations: 0 / 272.8 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-06/0.004523, allocations: 7.984 kB / 272.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.004528, allocations: 3.984 kB / 272.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.028e-05/0.004538, allocations: 12.86 kB / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004538, allocations: 0 / 272.9 MB, free: 1.531 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001093/0.004647, allocations: 4 kB / 272.9 MB, free: 1.527 MB / 250.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.718e-05/0.004715, allocations: 84.41 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.596e-05/0.004751, allocations: 11.98 kB / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.004753, allocations: 0 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.004753, allocations: 0 / 273 MB, free: 1.426 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.273e-05/0.004846, allocations: 13.06 kB / 273 MB, free: 1.41 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001658/0.005012, allocations: 107.5 kB / 273.1 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.607e-05/0.005038, allocations: 63.34 kB / 273.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.362e-06/0.005044, allocations: 7.953 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.005071, allocations: 47.38 kB / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of SimCode: time 6.72e-07/0.005072, allocations: 0 / 273.2 MB, free: 1.145 MB / 250.7 MB Notification: Performance of Templates: time 0.001611/0.006682, allocations: 316.3 kB / 273.5 MB, free: 0.8359 MB / 250.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 240] 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","",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.348263958003372]