Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001763/0.001763, allocations: 216.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.684/1.684, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003435/0.003435, allocations: 67.89 kB / 376.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.359, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004676/0.3637, allocations: 1.62 MB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3656, allocations: 0.5376 MB / 432 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.3657, allocations: 3.938 kB / 432 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.834e-05/0.3658, allocations: 11.94 kB / 432 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.3661, allocations: 15.86 kB / 432 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.3667, allocations: 55.81 kB / 432 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3669, allocations: 51.84 kB / 432.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001721/0.367, allocations: 8.188 kB / 432.1 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.3672, allocations: 35.84 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.3673, allocations: 19.86 kB / 432.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3674, allocations: 4 kB / 432.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.172e-05/0.3674, allocations: 8 kB / 432.2 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.156e-05/0.3675, allocations: 19.92 kB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.436e-05/0.3676, allocations: 23.81 kB / 432.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.3678, allocations: 68.92 kB / 432.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3678, allocations: 0 / 432.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3678, allocations: 0 / 432.3 MB, free: 5.043 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.3678, allocations: 0 / 432.3 MB, free: 5.043 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007465/0.3686, allocations: 390.9 kB / 432.7 MB, free: 4.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.3686, allocations: 12.03 kB / 432.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3688, allocations: 16.88 kB / 432.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.3693, allocations: 216.1 kB / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3693, allocations: 384 / 432.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.782e-05/0.3693, allocations: 7.938 kB / 432.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.3698, allocations: 117.9 kB / 433 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3698, allocations: 0 / 433 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.3698, allocations: 4 kB / 433 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3698, allocations: 0 / 433 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.3699, allocations: 23.92 kB / 433 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.3704, allocations: 278.5 kB / 433.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3706, allocations: 67.8 kB / 433.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.3707, allocations: 30.62 kB / 433.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.3708, allocations: 7.984 kB / 433.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.3708, allocations: 38.5 kB / 433.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3708, allocations: 0 / 433.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003955/0.3712, allocations: 85.55 kB / 433.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.3713, allocations: 107.2 kB / 433.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3715, allocations: 157.6 kB / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.3715, allocations: 25.7 kB / 433.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.434e-05/0.3716, allocations: 92.14 kB / 433.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.3716, allocations: 0 / 433.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/0.3717, allocations: 21.67 kB / 433.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0004378/0.3721, allocations: 318.8 kB / 434.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.3722, allocations: 15.92 kB / 434.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.831e-05/0.3722, allocations: 31.44 kB / 434.3 MB, free: 2.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3723, allocations: 51.36 kB / 434.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3723, allocations: 0 / 434.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001594/0.3725, allocations: 73.61 kB / 434.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.3725, allocations: 4 kB / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3725, allocations: 0 / 434.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3725, allocations: 4 kB / 434.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3726, allocations: 7.984 kB / 434.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3727, allocations: 7.938 kB / 434.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.3727, allocations: 7.891 kB / 434.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.3727, allocations: 4 kB / 434.5 MB, free: 2.562 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 0.0001531/0.3729, allocations: 122 kB / 434.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/0.373, allocations: 57.59 kB / 434.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.194e-05/0.373, allocations: 11.86 kB / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.373, allocations: 0 / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.373, allocations: 0 / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.373, allocations: 3.938 kB / 434.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.3733, allocations: 173.7 kB / 434.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3733, allocations: 0 / 434.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.3733, allocations: 19.98 kB / 434.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.3733, allocations: 4 kB / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.3734, allocations: 0 / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3734, allocations: 0 / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3734, allocations: 0 / 434.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3736, allocations: 181.1 kB / 435 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/0.3739, allocations: 97.05 kB / 435.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.3739, allocations: 0 / 435.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.3739, allocations: 4 kB / 435.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.374, allocations: 8.062 kB / 435.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.374, allocations: 7.984 kB / 435.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.3741, allocations: 114.2 kB / 435.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3741, allocations: 0 / 435.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.3744, allocations: 11.94 kB / 435.3 MB, free: 1.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.000195/0.3746, allocations: 99.25 kB / 435.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.3748, allocations: 31.92 kB / 435.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3748, allocations: 3.938 kB / 435.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.229e-05/0.3748, allocations: 11.98 kB / 435.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3753, allocations: 23.95 kB / 435.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.3759, allocations: 196.7 kB / 435.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.3765, allocations: 0.6885 MB / 436.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.946e-05/0.3766, allocations: 4 kB / 436.3 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.3766, allocations: 15.42 kB / 436.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3766, allocations: 0 / 436.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of Templates: time 0.005143/0.3818, allocations: 0.6109 MB / 436.9 MB, free: 15.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.094557640142739]