Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001057/0.001057, allocations: 84.34 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001101/0.001101, allocations: 165.3 kB / 25.61 MB, free: 8.902 MB / 18.57 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 0.997/0.997, allocations: 177 MB / 205.9 MB, free: 4.461 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.724e-05, allocations: 3.406 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00244/0.002467, allocations: 1.738 MB / 275.9 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.002855, allocations: 171.3 kB / 276 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.869e-05/0.002954, allocations: 0 / 276 MB, free: 2.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.003007, allocations: 11.86 kB / 276 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.003138, allocations: 12.78 kB / 276.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.003335, allocations: 47.81 kB / 276.1 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.003437, allocations: 52.47 kB / 276.1 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.003531, allocations: 22.45 kB / 276.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.138e-05/0.003582, allocations: 31.91 kB / 276.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.656e-05/0.003629, allocations: 19.91 kB / 276.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.003647, allocations: 4 kB / 276.2 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.00366, allocations: 8 kB / 276.2 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.003706, allocations: 15.92 kB / 276.2 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.003726, allocations: 15.92 kB / 276.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.003833, allocations: 57.3 kB / 276.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003835, allocations: 0 / 276.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003836, allocations: 0 / 276.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.00384, allocations: 0 / 276.3 MB, free: 2.07 MB / 250.7 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.0003389/0.004179, allocations: 420.9 kB / 276.7 MB, free: 1.621 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.004213, allocations: 8.031 kB / 276.7 MB, free: 1.613 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.004247, allocations: 17.39 kB / 276.8 MB, free: 1.598 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.00454, allocations: 156.9 kB / 276.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.066e-06/0.004548, allocations: 4.375 kB / 276.9 MB, free: 1.414 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.004557, allocations: 4.375 kB / 276.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.004756, allocations: 161.1 kB / 277.1 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.004764, allocations: 4.125 kB / 277.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.004771, allocations: 384 / 277.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.004776, allocations: 4.375 kB / 277.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.004804, allocations: 19.92 kB / 277.1 MB, free: 1.199 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.005058, allocations: 394.8 kB / 277.5 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.00521, allocations: 117.5 kB / 277.6 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.005249, allocations: 47.09 kB / 277.7 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.005267, allocations: 4 kB / 277.7 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.00529, allocations: 41.33 kB / 277.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.005292, allocations: 0 / 277.7 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001651/0.005457, allocations: 89.75 kB / 277.8 MB, free: 428 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.005509, allocations: 114.8 kB / 277.9 MB, free: 288 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.005599, allocations: 192.5 kB / 278.1 MB, free: 80 kB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-06/0.005609, allocations: 29.7 kB / 278.1 MB, free: 44 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.005667, allocations: 134.9 kB / 278.2 MB, free: 15.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.005681, allocations: 3.953 kB / 278.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.908e-05/0.00571, allocations: 23.38 kB / 278.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.005821, allocations: 0.4883 MB / 278.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.318e-05/0.005835, allocations: 11.92 kB / 278.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.00585, allocations: 15.38 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.005877, allocations: 23.44 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.005881, allocations: 4 kB / 278.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.397e-05/0.005934, allocations: 45.59 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.005947, allocations: 4 kB / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.005951, allocations: 0 / 278.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005961, allocations: 7.938 kB / 278.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.006001, allocations: 11.98 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.006004, allocations: 0 / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.404e-05/0.006018, allocations: 0 / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.006023, allocations: 8.062 kB / 278.9 MB, free: 15.22 MB / 266.7 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 6.469e-05/0.006087, allocations: 152.6 kB / 279 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.809e-05/0.006156, allocations: 73.56 kB / 279.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.006182, allocations: 12.78 kB / 279.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.006186, allocations: 3.938 kB / 279.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.006188, allocations: 4 kB / 279.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.006192, allocations: 3.984 kB / 279.1 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.006327, allocations: 113.2 kB / 279.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006329, allocations: 0 / 279.2 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.006369, allocations: 16 kB / 279.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.00637, allocations: 4 kB / 279.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.006376, allocations: 7.984 kB / 279.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006376, allocations: 0 / 279.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.006378, allocations: 400 / 279.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.006501, allocations: 326.7 kB / 279.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.006532, allocations: 15.88 kB / 279.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.006543, allocations: 8 kB / 279.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.948e-05/0.006592, allocations: 0 / 279.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.006616, allocations: 11.92 kB / 279.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006619, allocations: 0 / 279.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.006666, allocations: 143.2 kB / 279.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006666, allocations: 4 kB / 279.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001597/0.006826, allocations: 8 kB / 279.8 MB, free: 14.26 MB / 266.7 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 8.05e-05/0.006906, allocations: 99.19 kB / 279.9 MB, free: 14.15 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.581e-05/0.006972, allocations: 31.61 kB / 279.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.006973, allocations: 0 / 279.9 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.385e-05/0.006987, allocations: 15.62 kB / 279.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.00736, allocations: 30.5 kB / 279.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.00769, allocations: 211.9 kB / 280.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.943e-05/0.007749, allocations: 71.2 kB / 280.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.216e-05/0.007781, allocations: 0 / 280.2 MB, free: 13.73 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.007861, allocations: 82.19 kB / 280.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.007862, allocations: 0 / 280.3 MB, free: 13.64 MB / 266.7 MB Notification: Performance of Templates: time 0.002442/0.0103, allocations: 0.7539 MB / 281.1 MB, free: 12.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7304279785603285]