Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.001291/0.001291, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001483/0.001483, allocations: 211 kB / 23.73 MB, free: 4.523 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3552, allocations: 53.37 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003096/0.3583, allocations: 1.571 MB / 433.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3593, allocations: 0.4909 MB / 433.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3594, allocations: 4 kB / 433.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.074e-05/0.3595, allocations: 7.875 kB / 433.7 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.3596, allocations: 15.91 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.36, allocations: 51.83 kB / 433.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.3602, allocations: 39.8 kB / 433.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3603, allocations: 11.98 kB / 433.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.3604, allocations: 31.91 kB / 433.8 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.336e-05/0.3605, allocations: 19.86 kB / 433.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.3605, allocations: 4 kB / 433.8 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.655e-05/0.3606, allocations: 8 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.3606, allocations: 7.938 kB / 433.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.063e-05/0.3607, allocations: 19.86 kB / 433.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.3609, allocations: 51.47 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3609, allocations: 0 / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3609, allocations: 3.938 kB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3609, allocations: 4 kB / 433.9 MB, free: 4.402 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005934/0.3615, allocations: 300.5 kB / 434.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3615, allocations: 8.031 kB / 434.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.3617, allocations: 20.88 kB / 434.2 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3621, allocations: 144.8 kB / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.3621, allocations: 384 / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.3621, allocations: 4.375 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.3625, allocations: 93.36 kB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3625, allocations: 7.984 kB / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3625, allocations: 0 / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3625, allocations: 0 / 434.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.352e-05/0.3626, allocations: 19.98 kB / 434.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.3629, allocations: 209.4 kB / 434.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.363, allocations: 45.16 kB / 434.8 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.3631, allocations: 25.7 kB / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.3631, allocations: 0 / 434.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.3631, allocations: 38.56 kB / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.3631, allocations: 0 / 434.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002639/0.3634, allocations: 69.56 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.3635, allocations: 81.11 kB / 435 MB, free: 3.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.3636, allocations: 138.1 kB / 435.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3636, allocations: 25.7 kB / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.841e-05/0.3637, allocations: 88.14 kB / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.3637, allocations: 0 / 435.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.716e-05/0.3638, allocations: 21.86 kB / 435.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.3639, allocations: 322.8 kB / 435.5 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.364, allocations: 8 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.364, allocations: 21.7 kB / 435.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.011e-05/0.3641, allocations: 33.64 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3641, allocations: 0 / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001172/0.3642, allocations: 57.66 kB / 435.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.3642, allocations: 12.03 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3642, allocations: 0 / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.3643, allocations: 0 / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.184e-05/0.3643, allocations: 11.92 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3643, allocations: 0 / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.575e-05/0.3644, allocations: 8 kB / 435.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3644, allocations: 0 / 435.7 MB, free: 2.41 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000102/0.3645, allocations: 125.7 kB / 435.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.042e-05/0.3645, allocations: 37.66 kB / 435.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3646, allocations: 19.8 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3646, allocations: 0 / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3646, allocations: 0 / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3646, allocations: 0 / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3647, allocations: 117.3 kB / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3647, allocations: 3.938 kB / 436 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.125e-05/0.3648, allocations: 7.938 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3648, allocations: 0 / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.3648, allocations: 4 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3648, allocations: 0 / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3648, allocations: 3.984 kB / 436 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.365, allocations: 160.4 kB / 436.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.365, allocations: 15.88 kB / 436.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.365, allocations: 8 kB / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.093e-05/0.3651, allocations: 0 / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.3651, allocations: 0 / 436.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.3651, allocations: 4 kB / 436.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.437e-05/0.3652, allocations: 110.3 kB / 436.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3652, allocations: 0 / 436.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.3654, allocations: 7.938 kB / 436.3 MB, free: 1.734 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001115/0.3656, allocations: 107.2 kB / 436.4 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000132/0.3657, allocations: 23.97 kB / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3657, allocations: 0 / 436.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.3657, allocations: 8 kB / 436.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3661, allocations: 19.89 kB / 436.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.3665, allocations: 156 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.414e-05/0.3666, allocations: 75.33 kB / 436.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.998e-05/0.3666, allocations: 3.984 kB / 436.7 MB, free: 1.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.153e-05/0.3666, allocations: 11.44 kB / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3666, allocations: 0 / 436.7 MB, free: 1.277 MB / 334.1 MB Notification: Performance of Templates: time 0.003422/0.3701, allocations: 0.543 MB / 437.2 MB, free: 0.75 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.775433101691306]