Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.0008008/0.0008008, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00339/0.00339, allocations: 161 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8351/0.8351, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.138e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002741/0.002762, allocations: 1.715 MB / 327.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000453/0.003215, allocations: 167.3 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.003311, allocations: 4 kB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.333e-05/0.003365, allocations: 7.875 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.003515, allocations: 7.938 kB / 327.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.003787, allocations: 51.77 kB / 327.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.003914, allocations: 59.83 kB / 327.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.004022, allocations: 15.98 kB / 327.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.004083, allocations: 31.91 kB / 327.9 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.004138, allocations: 19.97 kB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.004167, allocations: 4 kB / 327.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.004179, allocations: 4 kB / 327.9 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.006e-05/0.004229, allocations: 15.92 kB / 327.9 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.00426, allocations: 19.92 kB / 328 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.004393, allocations: 71.66 kB / 328 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.004395, allocations: 3.938 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.004396, allocations: 4 kB / 328 MB, free: 13.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.0044, allocations: 0 / 328 MB, free: 13.24 MB / 298.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.0004443/0.004844, allocations: 317.2 kB / 328.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004881, allocations: 8.031 kB / 328.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.00492, allocations: 12.89 kB / 328.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.005124, allocations: 137.6 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.005136, allocations: 384 / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.005149, allocations: 12.38 kB / 328.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.005496, allocations: 174.2 kB / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.005505, allocations: 192 / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.00552, allocations: 384 / 328.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.005525, allocations: 4.375 kB / 328.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.005638, allocations: 43.84 kB / 328.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.005994, allocations: 301.5 kB / 329 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.006242, allocations: 115.8 kB / 329.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.959e-05/0.006332, allocations: 54.62 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.006355, allocations: 4 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.006381, allocations: 42.55 kB / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.006383, allocations: 0 / 329.2 MB, free: 11.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003336/0.006717, allocations: 117.5 kB / 329.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.006785, allocations: 110.8 kB / 329.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.006899, allocations: 144.9 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.006913, allocations: 29.7 kB / 329.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.006963, allocations: 88.3 kB / 329.7 MB, free: 11.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.006981, allocations: 7.938 kB / 329.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.007019, allocations: 21.7 kB / 329.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.007115, allocations: 310.8 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.007155, allocations: 4 kB / 330 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.007188, allocations: 25.7 kB / 330.1 MB, free: 10.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.483e-05/0.007253, allocations: 37.7 kB / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.007255, allocations: 0 / 330.1 MB, free: 10.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001019/0.007357, allocations: 49.64 kB / 330.2 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.007377, allocations: 7.938 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.007383, allocations: 0 / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.007396, allocations: 0 / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.007439, allocations: 7.984 kB / 330.2 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.007444, allocations: 7.938 kB / 330.2 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.007469, allocations: 4.062 kB / 330.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.007474, allocations: 4 kB / 330.2 MB, free: 10.84 MB / 298.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 7.903e-05/0.007553, allocations: 121.8 kB / 330.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.007678, allocations: 73.59 kB / 330.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/0.007711, allocations: 16.7 kB / 330.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.007716, allocations: 8 kB / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.00772, allocations: 0 / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.007724, allocations: 0 / 330.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.007918, allocations: 125.2 kB / 330.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.007921, allocations: 4 kB / 330.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.007993, allocations: 15.94 kB / 330.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.007998, allocations: 11.98 kB / 330.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.008009, allocations: 7.938 kB / 330.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.008011, allocations: 0 / 330.6 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.008012, allocations: 4 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.008347, allocations: 308.3 kB / 330.9 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.008394, allocations: 19.88 kB / 330.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.008409, allocations: 7.938 kB / 330.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.846e-05/0.008507, allocations: 3.984 kB / 330.9 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.008537, allocations: 8 kB / 330.9 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.008546, allocations: 7.938 kB / 330.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.008614, allocations: 111.2 kB / 331 MB, free: 9.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.008614, allocations: 0 / 331 MB, free: 9.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.008895, allocations: 4 kB / 331 MB, free: 9.93 MB / 298.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.6e-05/0.008981, allocations: 99.23 kB / 331.1 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.009127, allocations: 39.92 kB / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.009129, allocations: 128 / 331.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.009158, allocations: 15.98 kB / 331.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004388/0.009596, allocations: 43.94 kB / 331.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.009979, allocations: 225.8 kB / 331.4 MB, free: 9.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.063e-05/0.01006, allocations: 91.2 kB / 331.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.01009, allocations: 12.5 kB / 331.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.01009, allocations: 0 / 331.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of Templates: time 0.002069/0.01216, allocations: 0.8665 MB / 332.4 MB, free: 8.469 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 3.922700514085591]