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.001621/0.001621, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.002175/0.002175, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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 1.599/1.599, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00151/0.00151, allocations: 55.91 kB / 368.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3568, allocations: 52.15 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003162/0.36, allocations: 1.469 MB / 422.3 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.3603, allocations: 101.7 kB / 422.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.5e-05/0.3604, allocations: 4 kB / 422.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.819e-05/0.3604, allocations: 7.922 kB / 422.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.771e-05/0.3605, allocations: 3.938 kB / 422.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.3607, allocations: 15.98 kB / 422.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3608, allocations: 27.92 kB / 422.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.361, allocations: 15.97 kB / 422.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.361, allocations: 7.938 kB / 422.5 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.354e-05/0.3611, allocations: 15.92 kB / 422.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3611, allocations: 0 / 422.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.327e-05/0.3611, allocations: 4 kB / 422.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.3611, allocations: 7.938 kB / 422.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.007e-05/0.3612, allocations: 15.94 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.3613, allocations: 35.47 kB / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3613, allocations: 0 / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3613, allocations: 4 kB / 422.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3613, allocations: 0 / 422.6 MB, free: 13.34 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.000519/0.3618, allocations: 345 kB / 422.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3619, allocations: 8.031 kB / 423 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.3619, allocations: 4.938 kB / 423 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.3623, allocations: 180.3 kB / 423.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3623, allocations: 4.375 kB / 423.1 MB, free: 12.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.3623, allocations: 4.375 kB / 423.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.3626, allocations: 103.9 kB / 423.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3626, allocations: 192 / 423.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/0.3626, allocations: 7.922 kB / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.3626, allocations: 4 kB / 423.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.3627, allocations: 27.86 kB / 423.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.3629, allocations: 157.7 kB / 423.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3631, allocations: 50.55 kB / 423.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.3632, allocations: 24.92 kB / 423.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3632, allocations: 4 kB / 423.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.3633, allocations: 30.56 kB / 423.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3633, allocations: 0 / 423.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003142/0.3636, allocations: 77.5 kB / 423.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.3636, allocations: 55.41 kB / 423.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.117e-05/0.3637, allocations: 105.8 kB / 423.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3637, allocations: 25.7 kB / 423.8 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.3638, allocations: 92.08 kB / 423.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.3638, allocations: 0 / 423.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3638, allocations: 17.72 kB / 423.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.364, allocations: 314.8 kB / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.364, allocations: 4 kB / 424.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.364, allocations: 27.44 kB / 424.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.3641, allocations: 39.38 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3641, allocations: 0 / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.698e-05/0.3642, allocations: 57.56 kB / 424.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3642, allocations: 4 kB / 424.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.3642, allocations: 8.062 kB / 424.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3642, allocations: 4 kB / 424.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.3643, allocations: 7.984 kB / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3643, allocations: 0 / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.3643, allocations: 4 kB / 424.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.3643, allocations: 0 / 424.4 MB, free: 11.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 9.428e-05/0.3644, allocations: 117.8 kB / 424.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3645, allocations: 57.58 kB / 424.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.3645, allocations: 23.83 kB / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3645, allocations: 0 / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3645, allocations: 0 / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3646, allocations: 336 / 424.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3647, allocations: 153.7 kB / 424.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3647, allocations: 0 / 424.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.3647, allocations: 11.98 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.976e-05/0.3648, allocations: 7.922 kB / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3648, allocations: 3.938 kB / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3648, allocations: 0 / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3648, allocations: 0 / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3649, allocations: 89.3 kB / 424.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.365, allocations: 85.06 kB / 424.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.365, allocations: 7.938 kB / 424.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.207e-05/0.365, allocations: 0 / 424.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-06/0.365, allocations: 0 / 424.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.365, allocations: 4 kB / 424.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.814e-05/0.3651, allocations: 87.27 kB / 425 MB, free: 10.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3651, allocations: 4 kB / 425 MB, free: 10.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.3653, allocations: 4 kB / 425 MB, free: 10.57 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.0001698/0.3654, allocations: 100 kB / 425.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.3656, allocations: 27.92 kB / 425.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3656, allocations: 4 kB / 425.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.021e-06/0.3656, allocations: 0 / 425.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.3658, allocations: 28.19 kB / 425.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.3661, allocations: 121.5 kB / 425.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3665, allocations: 0.6805 MB / 426 MB, free: 9.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.476e-05/0.3665, allocations: 4 kB / 426 MB, free: 9.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/0.3665, allocations: 7.438 kB / 426 MB, free: 9.539 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3665, allocations: 0 / 426 MB, free: 9.539 MB / 334.1 MB Notification: Performance of Templates: time 0.003656/0.3702, allocations: 344.6 kB / 426.3 MB, free: 9.203 MB / 334.1 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: 4.953540503047407]