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.0008901/0.0008901, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008933/0.0008933, allocations: 143.4 kB / 24.89 MB, free: 8.727 MB / 18.57 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.9878/0.9878, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.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.142e-06/1.142e-06, allocations: 0 / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.212e-05/1.327e-05, allocations: 6.25 kB / 268.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002141/0.002154, allocations: 2.036 MB / 270.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000624/0.002778, allocations: 0.5102 MB / 271.1 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.493e-05/0.002853, allocations: 4 kB / 271.1 MB, free: 3.422 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.002955, allocations: 19.8 kB / 271.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.764e-05/0.003022, allocations: 39.64 kB / 271.1 MB, free: 3.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.003185, allocations: 35.94 kB / 271.1 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.003323, allocations: 163.3 kB / 271.3 MB, free: 3.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.003445, allocations: 58.22 kB / 271.4 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.003569, allocations: 95.78 kB / 271.5 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.003652, allocations: 43.88 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.003674, allocations: 16 kB / 271.5 MB, free: 2.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.49e-05/0.003689, allocations: 12 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.003718, allocations: 39.84 kB / 271.6 MB, free: 2.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.707e-05/0.003755, allocations: 43.91 kB / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.003891, allocations: 111.6 kB / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003894, allocations: 0 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003894, allocations: 0 / 271.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.003898, allocations: 4 kB / 271.7 MB, free: 2.75 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.000668/0.004566, allocations: 344.3 kB / 272.1 MB, free: 2.391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.004612, allocations: 12.91 kB / 272.1 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.004654, allocations: 20.92 kB / 272.1 MB, free: 2.359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.004824, allocations: 137.5 kB / 272.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.004837, allocations: 8.375 kB / 272.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.004866, allocations: 16.38 kB / 272.3 MB, free: 2.176 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.005027, allocations: 122.6 kB / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.00504, allocations: 192 / 272.4 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.005052, allocations: 8.375 kB / 272.4 MB, free: 2.039 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.005063, allocations: 11.92 kB / 272.4 MB, free: 2.027 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.861e-05/0.005121, allocations: 31.98 kB / 272.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004563/0.005578, allocations: 353.1 kB / 272.8 MB, free: 1.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.005655, allocations: 50.48 kB / 272.8 MB, free: 1.57 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.04e-05/0.005675, allocations: 20.8 kB / 272.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.005687, allocations: 11.98 kB / 272.8 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.005706, allocations: 30.56 kB / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.005707, allocations: 0 / 272.9 MB, free: 1.496 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004856/0.006193, allocations: 374.9 kB / 273.2 MB, free: 1.074 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.006218, allocations: 55.41 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.006284, allocations: 130.6 kB / 273.4 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-06/0.006292, allocations: 29.7 kB / 273.5 MB, free: 0.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.006344, allocations: 140.2 kB / 273.6 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.006363, allocations: 35.66 kB / 273.6 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.006398, allocations: 37.69 kB / 273.7 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.006477, allocations: 322.8 kB / 274 MB, free: 292 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.833e-05/0.006496, allocations: 12 kB / 274 MB, free: 280 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.006542, allocations: 70.84 kB / 274.1 MB, free: 184 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.316e-05/0.006615, allocations: 98.69 kB / 274.2 MB, free: 60 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.006616, allocations: 0 / 274.2 MB, free: 60 kB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001084/0.006725, allocations: 101.5 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.006736, allocations: 4 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.006741, allocations: 4 kB / 274.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.006751, allocations: 3.938 kB / 274.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.006859, allocations: 44.16 kB / 274.3 MB, free: 15.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.006863, allocations: 8 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.006894, allocations: 4 kB / 274.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.006902, allocations: 4.047 kB / 274.3 MB, free: 15.88 MB / 266.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 5.601e-05/0.006958, allocations: 125.7 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.006977, allocations: 15.91 kB / 274.5 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.007001, allocations: 12.44 kB / 274.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.007003, allocations: 0 / 274.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.007004, allocations: 0 / 274.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.007007, allocations: 0 / 274.5 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.007246, allocations: 293.3 kB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007247, allocations: 0 / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.293e-05/0.00732, allocations: 23.98 kB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.007324, allocations: 4 kB / 274.8 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.007332, allocations: 7.938 kB / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.007333, allocations: 0 / 274.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.007337, allocations: 7.938 kB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.007462, allocations: 193.2 kB / 275 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.188e-06/0.007472, allocations: 7.953 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.007482, allocations: 4.094 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.779e-05/0.00752, allocations: 8 kB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.529e-05/0.007545, allocations: 15.86 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.007548, allocations: 0 / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.874e-05/0.007567, allocations: 32.2 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007567, allocations: 0 / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001389/0.007706, allocations: 27.94 kB / 275.1 MB, free: 15.06 MB / 266.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 6.074e-05/0.007766, allocations: 76.42 kB / 275.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.536e-05/0.007852, allocations: 72.7 kB / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.007855, allocations: 0 / 275.2 MB, free: 14.9 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.842e-05/0.007884, allocations: 33.05 kB / 275.3 MB, free: 14.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001542/0.008038, allocations: 15.81 kB / 275.3 MB, free: 14.86 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.008575, allocations: 351 kB / 275.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.752e-05/0.008612, allocations: 71.33 kB / 275.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.008646, allocations: 16.97 kB / 275.7 MB, free: 14.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.248e-05/0.008698, allocations: 59.38 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.008699, allocations: 0 / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of Templates: time 0.002382/0.01108, allocations: 0.9451 MB / 276.7 MB, free: 13.38 MB / 266.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 -s gbode -gbm=radauIIA3 -emit_protected -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.5944446600042284]