Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001647/0.001647, allocations: 115.5 kB / 21.18 MB, free: 0.5898 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.001812/0.001812, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.587/1.587, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 75.83 kB / 378.8 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3635, allocations: 53.3 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003454/0.367, allocations: 1.724 MB / 433.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004987/0.3675, allocations: 163.4 kB / 433.9 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.3676, allocations: 4 kB / 433.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.648e-05/0.3677, allocations: 7.875 kB / 434 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.3678, allocations: 11.88 kB / 434 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.3681, allocations: 47.83 kB / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.3682, allocations: 59.83 kB / 434.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.3684, allocations: 19.98 kB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.3684, allocations: 15.92 kB / 434.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.203e-05/0.3685, allocations: 31.86 kB / 434.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3685, allocations: 4 kB / 434.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.3685, allocations: 4 kB / 434.1 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.3686, allocations: 19.92 kB / 434.2 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.3687, allocations: 39.72 kB / 434.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.3688, allocations: 65.64 kB / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3688, allocations: 0 / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3688, allocations: 0 / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3688, allocations: 0 / 434.3 MB, free: 5.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006702/0.3695, allocations: 402.9 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3695, allocations: 8.031 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3696, allocations: 8.891 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.3699, allocations: 196.2 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3699, allocations: 8.375 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3699, allocations: 4.375 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.3703, allocations: 166.3 kB / 435 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3703, allocations: 4.188 kB / 435 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3704, allocations: 7.938 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3704, allocations: 0 / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.3705, allocations: 39.91 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.371, allocations: 361.9 kB / 435.4 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.3712, allocations: 119.9 kB / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.3714, allocations: 58.48 kB / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3714, allocations: 0 / 435.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3714, allocations: 34.56 kB / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.3714, allocations: 0 / 435.7 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003765/0.3718, allocations: 121.5 kB / 435.8 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.3719, allocations: 118.7 kB / 435.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.372, allocations: 132.3 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.372, allocations: 29.7 kB / 436 MB, free: 3.141 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.3721, allocations: 92.12 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.3721, allocations: 7.953 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.3722, allocations: 25.67 kB / 436.2 MB, free: 3.008 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3723, allocations: 323.1 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.3724, allocations: 15.98 kB / 436.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.3725, allocations: 71.66 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3726, allocations: 103.5 kB / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3726, allocations: 0 / 436.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001887/0.3728, allocations: 101.5 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3728, allocations: 7.938 kB / 436.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.3728, allocations: 7.984 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/0.3729, allocations: 4.281 kB / 436.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.445e-05/0.3729, allocations: 20 kB / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3729, allocations: 0 / 436.8 MB, free: 2.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.591e-05/0.373, allocations: 19.88 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.373, allocations: 4 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001057/0.3731, allocations: 125.7 kB / 437 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3732, allocations: 77.78 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.3733, allocations: 16.72 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3733, allocations: 3.984 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3733, allocations: 4 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3733, allocations: 4 kB / 437.1 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.3736, allocations: 181.6 kB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3736, allocations: 0 / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.3736, allocations: 23.92 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.3736, allocations: 3.984 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3737, allocations: 4 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3737, allocations: 0 / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3737, allocations: 0 / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.3741, allocations: 320.2 kB / 437.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.3741, allocations: 96.97 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.3742, allocations: 11.94 kB / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.3743, allocations: 0 / 437.7 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.561e-05/0.3743, allocations: 7.938 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.3743, allocations: 4 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.498e-05/0.3744, allocations: 110.4 kB / 437.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3744, allocations: 288 / 437.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.3747, allocations: 12 kB / 437.8 MB, free: 1.184 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 (10): * Single equations (assignments): 10 * 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.0001192/0.3748, allocations: 99.25 kB / 437.9 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.375, allocations: 72.28 kB / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.375, allocations: 0 / 438 MB, free: 1.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.149e-05/0.375, allocations: 11.98 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.3755, allocations: 46.81 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.3759, allocations: 226 kB / 438.3 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.3763, allocations: 0.7003 MB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.3763, allocations: 15.44 kB / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3763, allocations: 0 / 439 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002762/0.3791, allocations: 0.9244 MB / 439.9 MB, free: 15.03 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 7.380793528165668]