Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.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.001867/0.001867, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002167/0.002167, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 8.016 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.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") [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.002185/0.002185, allocations: 64.77 kB / 379 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2704, allocations: 53.38 MB / 432.4 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003774/0.2742, allocations: 2.013 MB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2754, allocations: 0.5844 MB / 435 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.2755, allocations: 4 kB / 435 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.2757, allocations: 27.72 kB / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.2758, allocations: 35.7 kB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.276, allocations: 55.86 kB / 435.1 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.2763, allocations: 147.4 kB / 435.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.2765, allocations: 45.72 kB / 435.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.2766, allocations: 79.66 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.2768, allocations: 67.69 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.2768, allocations: 16 kB / 435.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.73e-05/0.2769, allocations: 16 kB / 435.5 MB, free: 3.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.2769, allocations: 35.84 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.934e-05/0.277, allocations: 75.67 kB / 435.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.2773, allocations: 173 kB / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2773, allocations: 0 / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2773, allocations: 0 / 435.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.2773, allocations: 0 / 435.8 MB, free: 3.586 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006276/0.2779, allocations: 369.7 kB / 436.1 MB, free: 3.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2779, allocations: 11.97 kB / 436.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.2781, allocations: 28.83 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.2784, allocations: 150.3 kB / 436.3 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2784, allocations: 16.38 kB / 436.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.2784, allocations: 16.38 kB / 436.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.2787, allocations: 150 kB / 436.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.2787, allocations: 7.953 kB / 436.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/0.2788, allocations: 4 kB / 436.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2788, allocations: 4 kB / 436.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.279, allocations: 91.94 kB / 436.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.2798, allocations: 475.2 kB / 437.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.28, allocations: 82.52 kB / 437.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.495e-05/0.2801, allocations: 20.86 kB / 437.2 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2801, allocations: 4 kB / 437.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2801, allocations: 46.67 kB / 437.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.2801, allocations: 0 / 437.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001045/0.2812, allocations: 455.2 kB / 437.7 MB, free: 1.516 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.2812, allocations: 59.34 kB / 437.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.2813, allocations: 130.1 kB / 437.8 MB, free: 1.305 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.2814, allocations: 25.7 kB / 437.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.741e-05/0.2815, allocations: 140.1 kB / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2815, allocations: 39.64 kB / 438 MB, free: 1.094 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.2816, allocations: 37.7 kB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2817, allocations: 314.8 kB / 438.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.2818, allocations: 39.97 kB / 438.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2819, allocations: 82.8 kB / 438.5 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.2822, allocations: 130.7 kB / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2822, allocations: 0 / 438.6 MB, free: 448 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002868/0.2825, allocations: 161.4 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2825, allocations: 8 kB / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2825, allocations: 0 / 438.8 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.2825, allocations: 4 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2827, allocations: 39.91 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.2827, allocations: 8.5 kB / 438.8 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.2827, allocations: 4 kB / 438.8 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.2828, allocations: 8 kB / 438.9 MB, free: 208 kB / 334.1 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 0.0001092/0.2829, allocations: 133.8 kB / 439 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.28e-05/0.2829, allocations: 7.953 kB / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.2829, allocations: 20.7 kB / 439 MB, free: 36 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2829, allocations: 3.938 kB / 439 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2829, allocations: 3.938 kB / 439 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2829, allocations: 0 / 439 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.2835, allocations: 415.1 kB / 439.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2835, allocations: 4.031 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.2837, allocations: 23.98 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2837, allocations: 4 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2837, allocations: 0 / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-05/0.2837, allocations: 4 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2837, allocations: 3.938 kB / 439.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.2841, allocations: 253.1 kB / 439.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.2841, allocations: 15.92 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2841, allocations: 4 kB / 439.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.659e-05/0.2842, allocations: 8 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.2843, allocations: 7.984 kB / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2843, allocations: 0 / 439.7 MB, free: 15.22 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.548e-05/0.2843, allocations: 102.1 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2843, allocations: 4.062 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002886/0.2846, allocations: 28 kB / 439.9 MB, free: 15.09 MB / 350.1 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 0.0001276/0.2848, allocations: 99.19 kB / 440 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.285, allocations: 87.77 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.285, allocations: 4 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.2851, allocations: 36.42 kB / 440.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2854, allocations: 23.92 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008082/0.2862, allocations: 420.8 kB / 440.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.2866, allocations: 0.7158 MB / 441.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.824e-05/0.2866, allocations: 12.97 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.2867, allocations: 11.44 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2867, allocations: 4 kB / 441.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.003947/0.2906, allocations: 0.9575 MB / 442.2 MB, free: 12.67 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.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: 4.549091472290456]