Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0007903/0.0007903, allocations: 84 kB / 21.43 MB, free: 3.133 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.003273/0.003273, allocations: 141.2 kB / 24.68 MB, free: 9.43 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.8135/0.8135, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625e-05/1.762e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.001712/0.001729, allocations: 1.449 MB / 321.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002089/0.001938, allocations: 95.64 kB / 321.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.044e-05/0.001989, allocations: 7.938 kB / 321.3 MB, free: 4.277 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.002014, allocations: 3.984 kB / 321.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.409e-05/0.002048, allocations: 7.922 kB / 321.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.002249, allocations: 23.98 kB / 321.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.002323, allocations: 39.8 kB / 321.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.002406, allocations: 7.984 kB / 321.3 MB, free: 4.195 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.002442, allocations: 11.98 kB / 321.3 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.448e-05/0.002476, allocations: 11.94 kB / 321.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.002497, allocations: 0 / 321.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.064e-06/0.002504, allocations: 4 kB / 321.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.00252, allocations: 7.938 kB / 321.4 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.002552, allocations: 15.97 kB / 321.4 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.998e-05/0.002622, allocations: 27.84 kB / 321.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002624, allocations: 0 / 321.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.002625, allocations: 0 / 321.4 MB, free: 4.117 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.002628, allocations: 0 / 321.4 MB, free: 4.117 MB / 282.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.0003016/0.00293, allocations: 270.2 kB / 321.7 MB, free: 3.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.002963, allocations: 8.922 kB / 321.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.002987, allocations: 0.9375 kB / 321.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.003127, allocations: 121.7 kB / 321.8 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.003137, allocations: 8.375 kB / 321.8 MB, free: 3.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.003146, allocations: 4.375 kB / 321.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.003354, allocations: 111.8 kB / 321.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.003361, allocations: 192 / 321.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003368, allocations: 384 / 321.9 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.003372, allocations: 4.312 kB / 321.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.003422, allocations: 27.92 kB / 322 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.393e-05/0.003506, allocations: 105.3 kB / 322.1 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.003608, allocations: 50.56 kB / 322.1 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.549e-05/0.003644, allocations: 24.92 kB / 322.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.00366, allocations: 0 / 322.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.003678, allocations: 30.56 kB / 322.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.51e-07/0.003678, allocations: 0 / 322.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001467/0.003825, allocations: 81.55 kB / 322.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.003857, allocations: 55.41 kB / 322.3 MB, free: 3.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.074e-05/0.003908, allocations: 105.8 kB / 322.4 MB, free: 2.98 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.003916, allocations: 25.7 kB / 322.4 MB, free: 2.949 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.699e-05/0.003943, allocations: 88.12 kB / 322.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.003945, allocations: 0 / 322.5 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.003959, allocations: 13.72 kB / 322.5 MB, free: 2.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.429e-05/0.004023, allocations: 310.8 kB / 322.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-06/0.004027, allocations: 0 / 322.8 MB, free: 2.527 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-06/0.004029, allocations: 3.938 kB / 322.8 MB, free: 2.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.806e-05/0.004047, allocations: 79.28 kB / 322.9 MB, free: 2.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.004063, allocations: 75.28 kB / 323 MB, free: 2.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 2.894e-05/0.004091, allocations: 33.64 kB / 323 MB, free: 2.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.004116, allocations: 91.22 kB / 323.1 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.004134, allocations: 79.27 kB / 323.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-05/0.004173, allocations: 154.5 kB / 323.3 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.566e-05/0.004188, allocations: 79.28 kB / 323.4 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/0.004219, allocations: 154.5 kB / 323.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.041e-05/0.00426, allocations: 79.22 kB / 323.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.004279, allocations: 79.28 kB / 323.7 MB, free: 1.625 MB / 282.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.226e-05/0.004351, allocations: 185.1 kB / 323.9 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.004413, allocations: 65.61 kB / 324 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.004438, allocations: 8 kB / 324 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00444, allocations: 240 / 324 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.004444, allocations: 256 / 324 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.004448, allocations: 3.938 kB / 324 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.608e-05/0.004494, allocations: 117.2 kB / 324.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.004497, allocations: 0 / 324.1 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.348e-05/0.00455, allocations: 12 kB / 324.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.004553, allocations: 0 / 324.1 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.004559, allocations: 3.984 kB / 324.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.004561, allocations: 0 / 324.1 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004562, allocations: 8 kB / 324.1 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.828e-05/0.00463, allocations: 81 kB / 324.2 MB, free: 1.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.004636, allocations: 3.984 kB / 324.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.004647, allocations: 8 kB / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.004655, allocations: 0 / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.004657, allocations: 0 / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.004661, allocations: 0 / 324.2 MB, free: 1.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.623e-05/0.004688, allocations: 83.28 kB / 324.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.004688, allocations: 0 / 324.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.004824, allocations: 4 kB / 324.3 MB, free: 0.9805 MB / 282.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: 0 () * 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.557e-05/0.004889, allocations: 107.2 kB / 324.4 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.789e-05/0.004947, allocations: 11.98 kB / 324.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.004949, allocations: 0 / 324.4 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.004949, allocations: 3.938 kB / 324.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.005105, allocations: 19.94 kB / 324.4 MB, free: 0.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000194/0.005299, allocations: 146.8 kB / 324.6 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.005333, allocations: 63.34 kB / 324.6 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.005353, allocations: 16.5 kB / 324.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005353, allocations: 0 / 324.7 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of Templates: time 0.001145/0.006498, allocations: 0.5187 MB / 325.2 MB, free: 44 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.704398931004107]