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.001842/0.001842, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.00252/0.00252, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 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.464/1.464, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.723e-06/1.723e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.832e-05/3.005e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003154/0.003184, allocations: 1.459 MB / 273.8 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.003529, allocations: 99.69 kB / 273.9 MB, free: 268 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.003593, allocations: 4 kB / 273.9 MB, free: 264 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.003626, allocations: 3.938 kB / 273.9 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.003671, allocations: 11.86 kB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.003918, allocations: 19.98 kB / 273.9 MB, free: 228 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.552e-05/0.004013, allocations: 27.91 kB / 273.9 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.054e-05/0.004094, allocations: 4 kB / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.004153, allocations: 15.98 kB / 274 MB, free: 180 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.004191, allocations: 3.938 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.004212, allocations: 4 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-06/0.00422, allocations: 0 / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.004243, allocations: 15.98 kB / 274 MB, free: 156 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.004275, allocations: 7.938 kB / 274 MB, free: 148 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.004385, allocations: 31.83 kB / 274 MB, free: 116 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004387, allocations: 0 / 274 MB, free: 116 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.004391, allocations: 4 kB / 274 MB, free: 112 kB / 250.7 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.004394, allocations: 0 / 274 MB, free: 112 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.0004687/0.004863, allocations: 266.3 kB / 274.3 MB, free: 15.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.004901, allocations: 8.031 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.004949, allocations: 8.891 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.005416, allocations: 113.8 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.00543, allocations: 8.375 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.005439, allocations: 4.375 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003463/0.005785, allocations: 107.8 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.005796, allocations: 4.172 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.005809, allocations: 4.375 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005813, allocations: 384 / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.005905, allocations: 27.86 kB / 274.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.006067, allocations: 109.3 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.006248, allocations: 54.48 kB / 274.7 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.00632, allocations: 24.92 kB / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.006342, allocations: 0 / 274.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.006385, allocations: 34.56 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.006386, allocations: 0 / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002825/0.006668, allocations: 69.61 kB / 274.9 MB, free: 15.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.00673, allocations: 55.41 kB / 274.9 MB, free: 15.09 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.006853, allocations: 113.8 kB / 275 MB, free: 14.97 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.006876, allocations: 25.7 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.006935, allocations: 84.14 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-06/0.006937, allocations: 0 / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.006969, allocations: 9.719 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.007146, allocations: 322.8 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-06/0.007151, allocations: 0 / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-06/0.007154, allocations: 0 / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.007196, allocations: 75.28 kB / 275.5 MB, free: 14.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.132e-05/0.007238, allocations: 79.28 kB / 275.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.321e-05/0.007301, allocations: 33.64 kB / 275.6 MB, free: 14.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/0.00736, allocations: 79.28 kB / 275.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/0.007403, allocations: 79.28 kB / 275.8 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.823e-05/0.007502, allocations: 154.5 kB / 275.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.127e-05/0.007543, allocations: 75.53 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.034e-05/0.007633, allocations: 158.6 kB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.919e-05/0.007722, allocations: 91.14 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.007764, allocations: 75.28 kB / 276.3 MB, free: 13.62 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 0.0001307/0.007895, allocations: 185.1 kB / 276.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.008025, allocations: 65.58 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.008056, allocations: 11.98 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.008058, allocations: 0 / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.008062, allocations: 0 / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.008068, allocations: 3.938 kB / 276.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.008173, allocations: 101.3 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.008177, allocations: 0 / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.008259, allocations: 11.98 kB / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.008263, allocations: 0 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.008268, allocations: 0 / 276.7 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008271, allocations: 7.938 kB / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.008271, allocations: 0 / 276.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.008441, allocations: 97.2 kB / 276.8 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.008456, allocations: 7.891 kB / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.008467, allocations: 0 / 276.8 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/0.008494, allocations: 8 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.008496, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.008501, allocations: 0 / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.949e-05/0.008561, allocations: 87.27 kB / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008561, allocations: 0 / 276.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002302/0.008791, allocations: 0 / 276.9 MB, free: 12.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 0.0001267/0.008918, allocations: 107.2 kB / 277 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.856e-05/0.009006, allocations: 11.98 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009008, allocations: 0 / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.009008, allocations: 0 / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.009244, allocations: 29.08 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.009544, allocations: 111.5 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.229e-05/0.009617, allocations: 63.34 kB / 277.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.296e-05/0.009629, allocations: 8 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.00966, allocations: 8.5 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.00966, allocations: 0 / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.00255/0.01221, allocations: 294.5 kB / 277.5 MB, free: 12.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=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: 4.342400246066973]