Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.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.001031/0.001031, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001179/0.001179, allocations: 170.2 kB / 25.33 MB, free: 9.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.933/0.933, allocations: 158.6 MB / 187.2 MB, free: 2.941 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.Translational.Examples.Sensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 251 MB, free: 7.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.187e-05, allocations: 2.312 kB / 251 MB, free: 7.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003898/0.00393, allocations: 1.996 MB / 253 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.004977, allocations: 0.5269 MB / 253.5 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.00509, allocations: 4 kB / 253.6 MB, free: 4.988 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.005237, allocations: 27.72 kB / 253.6 MB, free: 4.961 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.005341, allocations: 35.7 kB / 253.6 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003079/0.005649, allocations: 47.75 kB / 253.7 MB, free: 4.879 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.005872, allocations: 155.4 kB / 253.8 MB, free: 4.727 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.006036, allocations: 53.64 kB / 253.9 MB, free: 4.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000177/0.006213, allocations: 95.78 kB / 254 MB, free: 4.582 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.00632, allocations: 43.88 kB / 254 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.006356, allocations: 16 kB / 254 MB, free: 4.523 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.3e-05/0.006379, allocations: 12 kB / 254 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.529e-05/0.006415, allocations: 35.91 kB / 254.1 MB, free: 4.477 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.064e-05/0.006475, allocations: 51.83 kB / 254.1 MB, free: 4.426 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.006678, allocations: 107.6 kB / 254.2 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.006682, allocations: 0 / 254.2 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.006683, allocations: 0 / 254.2 MB, free: 4.32 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.006688, allocations: 0 / 254.2 MB, free: 4.32 MB / 234.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.0005977/0.007286, allocations: 476 kB / 254.7 MB, free: 3.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.00733, allocations: 11.98 kB / 254.7 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.882e-05/0.007419, allocations: 28.84 kB / 254.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.007655, allocations: 144.4 kB / 254.9 MB, free: 3.613 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.007678, allocations: 16.3 kB / 254.9 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.007726, allocations: 20.36 kB / 254.9 MB, free: 3.578 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.007987, allocations: 122.6 kB / 255 MB, free: 3.449 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.008005, allocations: 4.141 kB / 255 MB, free: 3.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.008024, allocations: 16.38 kB / 255 MB, free: 3.43 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.008039, allocations: 7.938 kB / 255.1 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.008146, allocations: 51.89 kB / 255.1 MB, free: 3.371 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.008735, allocations: 463.1 kB / 255.6 MB, free: 2.879 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.008845, allocations: 59.05 kB / 255.6 MB, free: 2.809 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.008879, allocations: 23.67 kB / 255.6 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.008893, allocations: 4 kB / 255.6 MB, free: 2.777 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.008914, allocations: 41.39 kB / 255.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.008916, allocations: 0 / 255.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005869/0.009503, allocations: 408.2 kB / 256.1 MB, free: 2.266 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.009531, allocations: 55.34 kB / 256.1 MB, free: 2.199 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.582e-05/0.009626, allocations: 193.5 kB / 256.3 MB, free: 1.996 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.009638, allocations: 29.7 kB / 256.3 MB, free: 1.961 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.009711, allocations: 186.9 kB / 256.5 MB, free: 1.773 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.009734, allocations: 39.64 kB / 256.6 MB, free: 1.734 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.009776, allocations: 43.36 kB / 256.6 MB, free: 1.684 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.009892, allocations: 0.4922 MB / 257.1 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.00992, allocations: 15.98 kB / 257.1 MB, free: 1.164 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.098e-05/0.009991, allocations: 105.4 kB / 257.2 MB, free: 1.027 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.01009, allocations: 113.4 kB / 257.3 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01009, allocations: 0 / 257.3 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001498/0.01024, allocations: 141.4 kB / 257.5 MB, free: 0.7383 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01026, allocations: 4 kB / 257.5 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01026, allocations: 4 kB / 257.5 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01027, allocations: 8 kB / 257.5 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01038, allocations: 35.92 kB / 257.5 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.01039, allocations: 0 / 257.5 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.01043, allocations: 11.98 kB / 257.5 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.01044, allocations: 8 kB / 257.5 MB, free: 0.668 MB / 234.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 8.256e-05/0.01052, allocations: 176.6 kB / 257.7 MB, free: 496 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.01054, allocations: 11.95 kB / 257.7 MB, free: 484 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.01058, allocations: 12.44 kB / 257.7 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.01058, allocations: 0 / 257.7 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01058, allocations: 0 / 257.7 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.01059, allocations: 0 / 257.7 MB, free: 468 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/0.01092, allocations: 412.5 kB / 258.1 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01092, allocations: 0 / 258.1 MB, free: 4 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.509e-05/0.011, allocations: 24.03 kB / 258.2 MB, free: 15.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01101, allocations: 8.047 kB / 258.2 MB, free: 15.97 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.01102, allocations: 8 kB / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01102, allocations: 0 / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.01102, allocations: 3.938 kB / 258.2 MB, free: 15.96 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.0112, allocations: 275.1 kB / 258.5 MB, free: 15.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.01121, allocations: 11.91 kB / 258.5 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.01122, allocations: 0 / 258.5 MB, free: 15.65 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.01126, allocations: 8 kB / 258.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.0113, allocations: 11.92 kB / 258.5 MB, free: 15.63 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.0113, allocations: 4 kB / 258.5 MB, free: 15.63 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.378e-05/0.01135, allocations: 139.2 kB / 258.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01135, allocations: 0 / 258.6 MB, free: 15.49 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.01152, allocations: 28 kB / 258.7 MB, free: 15.46 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 7.994e-05/0.0116, allocations: 95.41 kB / 258.7 MB, free: 15.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001314/0.01173, allocations: 80.39 kB / 258.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01173, allocations: 0 / 258.8 MB, free: 15.28 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.01177, allocations: 43.55 kB / 258.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.01198, allocations: 12.5 kB / 258.9 MB, free: 15.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.01264, allocations: 377 kB / 259.2 MB, free: 14.82 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.498e-05/0.01269, allocations: 71.33 kB / 259.3 MB, free: 14.73 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.01272, allocations: 8.984 kB / 259.3 MB, free: 14.71 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.113e-05/0.01276, allocations: 20.48 kB / 259.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01276, allocations: 0 / 259.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of Templates: time 0.002822/0.01558, allocations: 0.8656 MB / 260.2 MB, free: 13.84 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.726741663645953]