Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007896/0.0007896, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001812, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000637/0.000637, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009102/0.001547, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9757/0.9757, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1064/1.082, allocations: 52.5 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") translateModel(Modelica.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 3.938 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.079e-05/1.213e-05, allocations: 2.312 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002823/0.002835, allocations: 2.025 MB / 241.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004612, allocations: 0.518 MB / 242.1 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.004702, allocations: 4 kB / 242.1 MB, free: 0.6133 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.062e-05/0.004772, allocations: 19.78 kB / 242.1 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.004862, allocations: 39.58 kB / 242.2 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.004998, allocations: 47.88 kB / 242.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.005174, allocations: 143.4 kB / 242.3 MB, free: 376 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.005316, allocations: 54.44 kB / 242.4 MB, free: 320 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.005495, allocations: 103.8 kB / 242.5 MB, free: 216 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.005599, allocations: 47.88 kB / 242.5 MB, free: 168 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.005634, allocations: 16 kB / 242.6 MB, free: 152 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.976e-05/0.005654, allocations: 12 kB / 242.6 MB, free: 140 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.005681, allocations: 27.88 kB / 242.6 MB, free: 112 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.005731, allocations: 39.94 kB / 242.6 MB, free: 72 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.005904, allocations: 99.55 kB / 242.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.452e-05/0.005918, allocations: 3.938 kB / 242.7 MB, free: 15.97 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005919, allocations: 4 kB / 242.7 MB, free: 15.96 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.005936, allocations: 0 / 242.7 MB, free: 15.96 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000482/0.006418, allocations: 376 kB / 243.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.006446, allocations: 12.03 kB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.006488, allocations: 20.92 kB / 243.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.006639, allocations: 137.5 kB / 243.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.006652, allocations: 12.38 kB / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.006679, allocations: 16.38 kB / 243.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.006841, allocations: 126.4 kB / 243.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.006854, allocations: 4.172 kB / 243.4 MB, free: 15.22 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.006866, allocations: 8.375 kB / 243.4 MB, free: 15.21 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.006874, allocations: 7.938 kB / 243.4 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.266e-05/0.006947, allocations: 39.91 kB / 243.5 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.007408, allocations: 349.2 kB / 243.8 MB, free: 14.8 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.445e-05/0.007492, allocations: 46.5 kB / 243.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.536e-05/0.007518, allocations: 20.84 kB / 243.9 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.007529, allocations: 4 kB / 243.9 MB, free: 14.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.007551, allocations: 38.55 kB / 243.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.007553, allocations: 3.938 kB / 243.9 MB, free: 14.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005549/0.008108, allocations: 371 kB / 244.3 MB, free: 14.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.008137, allocations: 55.41 kB / 244.3 MB, free: 14.18 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.9e-05/0.008216, allocations: 137.8 kB / 244.5 MB, free: 14.04 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.008228, allocations: 25.7 kB / 244.5 MB, free: 14.01 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.008287, allocations: 136.2 kB / 244.6 MB, free: 13.87 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.008317, allocations: 43.62 kB / 244.7 MB, free: 13.82 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.008369, allocations: 41.64 kB / 244.7 MB, free: 13.78 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.008446, allocations: 322.8 kB / 245 MB, free: 13.45 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.008468, allocations: 12 kB / 245.1 MB, free: 13.44 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.237e-05/0.008521, allocations: 66.84 kB / 245.1 MB, free: 13.35 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.385e-05/0.008615, allocations: 98.69 kB / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.008616, allocations: 0 / 245.2 MB, free: 13.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001349/0.008751, allocations: 106.4 kB / 245.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.008763, allocations: 7.938 kB / 245.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.008769, allocations: 4 kB / 245.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.008778, allocations: 0 / 245.3 MB, free: 13.11 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.008936, allocations: 47.97 kB / 245.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.00894, allocations: 192 / 245.4 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/0.008991, allocations: 8 kB / 245.4 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.009001, allocations: 11.94 kB / 245.4 MB, free: 13.04 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.329e-05/0.009064, allocations: 117.8 kB / 245.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/0.009093, allocations: 11.98 kB / 245.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.009126, allocations: 12.44 kB / 245.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.009128, allocations: 0 / 245.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.00913, allocations: 4 kB / 245.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.009133, allocations: 0 / 245.5 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.009434, allocations: 280.3 kB / 245.8 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.009437, allocations: 4 kB / 245.8 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.009549, allocations: 31.97 kB / 245.8 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.009563, allocations: 11.94 kB / 245.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.009565, allocations: 4 kB / 245.9 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.009573, allocations: 3.984 kB / 245.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.009577, allocations: 7.922 kB / 245.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.009579, allocations: 4 kB / 245.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.009737, allocations: 193.1 kB / 246.1 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.009754, allocations: 4 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.009823, allocations: 8.062 kB / 246.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.009851, allocations: 15.86 kB / 246.1 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.009856, allocations: 0 / 246.1 MB, free: 12.28 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.009881, allocations: 28.83 kB / 246.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009881, allocations: 0 / 246.1 MB, free: 12.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.01012, allocations: 28 kB / 246.1 MB, free: 12.22 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.086e-05/0.0102, allocations: 80.34 kB / 246.2 MB, free: 12.14 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01031, allocations: 65.22 kB / 246.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.01032, allocations: 4 kB / 246.3 MB, free: 12.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.01036, allocations: 32.77 kB / 246.3 MB, free: 12.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.01058, allocations: 23.98 kB / 246.4 MB, free: 12.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.01205, allocations: 330.5 kB / 246.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.679e-05/0.01209, allocations: 71.33 kB / 246.7 MB, free: 11.56 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.367e-05/0.01214, allocations: 8.969 kB / 246.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.01219, allocations: 59.38 kB / 246.8 MB, free: 11.49 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01219, allocations: 4 kB / 246.8 MB, free: 11.49 MB / 250.7 MB Notification: Performance of Templates: time 0.002988/0.01518, allocations: 0.9584 MB / 247.8 MB, free: 10.55 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.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.5012248875573277]