Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.002044/0.002044, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00188/0.00188, allocations: 212 kB / 23.74 MB, free: 4.656 MB / 14.72 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.613/1.613, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001652/0.001652, allocations: 51.92 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3611, allocations: 53.35 MB / 431.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003392/0.3645, allocations: 1.496 MB / 433.1 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003411/0.3648, allocations: 99.67 kB / 433.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.963e-05/0.3649, allocations: 0 / 433.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.103e-05/0.3649, allocations: 3.938 kB / 433.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.365, allocations: 3.938 kB / 433.2 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.3652, allocations: 27.91 kB / 433.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3654, allocations: 27.92 kB / 433.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3655, allocations: 11.94 kB / 433.3 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.076e-05/0.3655, allocations: 15.97 kB / 433.3 MB, free: 5.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.3656, allocations: 7.938 kB / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.3656, allocations: 0 / 433.3 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.3656, allocations: 4 kB / 433.3 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3656, allocations: 7.938 kB / 433.3 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.3657, allocations: 15.92 kB / 433.3 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3658, allocations: 21.45 kB / 433.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.3658, allocations: 4 kB / 433.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3658, allocations: 4 kB / 433.4 MB, free: 5.148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3658, allocations: 0 / 433.4 MB, free: 5.148 MB / 334.1 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.000478/0.3663, allocations: 266 kB / 433.6 MB, free: 4.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3663, allocations: 8.031 kB / 433.6 MB, free: 4.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.3664, allocations: 12.89 kB / 433.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.3666, allocations: 122.5 kB / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3666, allocations: 384 / 433.8 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3666, allocations: 4.312 kB / 433.8 MB, free: 4.691 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003297/0.367, allocations: 107.9 kB / 433.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.367, allocations: 4.125 kB / 433.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.367, allocations: 7.938 kB / 433.9 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.367, allocations: 4 kB / 433.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.929e-05/0.3671, allocations: 11.98 kB / 433.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.3672, allocations: 132.7 kB / 434 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3674, allocations: 54.58 kB / 434.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.892e-05/0.3674, allocations: 24.83 kB / 434.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.3675, allocations: 3.984 kB / 434.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.3675, allocations: 46.5 kB / 434.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3675, allocations: 0 / 434.2 MB, free: 4.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002386/0.3678, allocations: 65.61 kB / 434.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.3678, allocations: 55.41 kB / 434.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3679, allocations: 109.8 kB / 434.4 MB, free: 3.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3679, allocations: 25.7 kB / 434.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.027e-05/0.368, allocations: 84.14 kB / 434.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.368, allocations: 4 kB / 434.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.368, allocations: 13.72 kB / 434.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.3682, allocations: 322.8 kB / 434.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.3682, allocations: 0 / 434.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.3682, allocations: 27.38 kB / 434.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.321e-05/0.3683, allocations: 39.42 kB / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3683, allocations: 0 / 434.9 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.442e-05/0.3684, allocations: 57.58 kB / 435 MB, free: 3.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3684, allocations: 4 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3684, allocations: 11.92 kB / 435 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3684, allocations: 0 / 435 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.3685, allocations: 8 kB / 435 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3685, allocations: 4.125 kB / 435 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.3685, allocations: 3.953 kB / 435 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3685, allocations: 4 kB / 435 MB, free: 3.32 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (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 prepare postOptimizeDAE: time 8.956e-05/0.3686, allocations: 105.8 kB / 435.1 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.3687, allocations: 65.61 kB / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.3687, allocations: 7.938 kB / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3687, allocations: 0 / 435.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3687, allocations: 3.938 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3687, allocations: 8 kB / 435.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3688, allocations: 124.8 kB / 435.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3688, allocations: 256 / 435.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.3689, allocations: 11.98 kB / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3689, allocations: 0 / 435.3 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3689, allocations: 11.94 kB / 435.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.3689, allocations: 3.984 kB / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3689, allocations: 0 / 435.3 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.3691, allocations: 93 kB / 435.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-06/0.3691, allocations: 0 / 435.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3691, allocations: 7.938 kB / 435.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.152e-05/0.3691, allocations: 0 / 435.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-06/0.3691, allocations: 0 / 435.4 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3691, allocations: 3.938 kB / 435.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.386e-05/0.3692, allocations: 91.27 kB / 435.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3692, allocations: 0 / 435.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001887/0.3694, allocations: 4 kB / 435.5 MB, free: 2.703 MB / 334.1 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 0.0001167/0.3695, allocations: 95.25 kB / 435.6 MB, free: 2.602 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.3696, allocations: 27.92 kB / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3696, allocations: 0 / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-07/0.3696, allocations: 0 / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3698, allocations: 20.36 kB / 435.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.3702, allocations: 124.8 kB / 435.8 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.3705, allocations: 0.685 MB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.614e-05/0.3705, allocations: 0 / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.3705, allocations: 11.44 kB / 436.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3705, allocations: 0 / 436.5 MB, free: 1.688 MB / 334.1 MB Notification: Performance of Templates: time 0.002889/0.3734, allocations: 348.6 kB / 436.8 MB, free: 1.348 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.078819839982316]