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.0009535/0.0009535, allocations: 76.81 kB / 22.28 MB, free: 2.203 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.001148/0.001148, allocations: 164.9 kB / 25.7 MB, free: 8.426 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 1.015/1.015, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.314e-06/2.314e-06, allocations: 0 / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.991e-05/4.222e-05, allocations: 10.19 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.004362/0.004404, allocations: 2.039 MB / 253.6 MB, free: 5.188 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.005649, allocations: 0.5423 MB / 254.1 MB, free: 4.637 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.005803, allocations: 4 kB / 254.1 MB, free: 4.633 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.005932, allocations: 27.78 kB / 254.2 MB, free: 4.605 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.427e-05/0.006026, allocations: 31.66 kB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.006265, allocations: 35.94 kB / 254.2 MB, free: 4.539 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.006506, allocations: 155.4 kB / 254.4 MB, free: 4.387 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.00666, allocations: 58.17 kB / 254.4 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.006913, allocations: 95.78 kB / 254.5 MB, free: 4.238 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.007071, allocations: 43.88 kB / 254.6 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.007111, allocations: 16 kB / 254.6 MB, free: 4.18 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.637e-05/0.007137, allocations: 12 kB / 254.6 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.716e-05/0.007184, allocations: 47.83 kB / 254.6 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.007248, allocations: 43.91 kB / 254.7 MB, free: 4.078 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.007511, allocations: 111.6 kB / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007515, allocations: 0 / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.007517, allocations: 0 / 254.8 MB, free: 3.969 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.007524, allocations: 0 / 254.8 MB, free: 3.969 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.0006701/0.008194, allocations: 348.3 kB / 255.1 MB, free: 3.605 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.008244, allocations: 11.98 kB / 255.1 MB, free: 3.594 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.894e-05/0.008302, allocations: 24.92 kB / 255.2 MB, free: 3.57 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.008558, allocations: 141.5 kB / 255.3 MB, free: 3.406 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.00858, allocations: 8.375 kB / 255.3 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.008624, allocations: 20.38 kB / 255.3 MB, free: 3.379 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.008848, allocations: 114.6 kB / 255.5 MB, free: 3.258 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.008869, allocations: 4.172 kB / 255.5 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.008883, allocations: 4.375 kB / 255.5 MB, free: 3.25 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.008895, allocations: 7.938 kB / 255.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.008985, allocations: 47.72 kB / 255.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.009609, allocations: 353.2 kB / 255.9 MB, free: 2.828 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.009715, allocations: 54.47 kB / 255.9 MB, free: 2.766 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.009744, allocations: 20.86 kB / 255.9 MB, free: 2.742 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.009758, allocations: 4 kB / 255.9 MB, free: 2.738 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.009782, allocations: 30.56 kB / 256 MB, free: 2.699 MB / 234.7 MB Notification: Performance of pre-optimization done (n=9): time 2.474e-06/0.009785, allocations: 0 / 256 MB, free: 2.699 MB / 234.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006979/0.01048, allocations: 375 kB / 256.3 MB, free: 2.277 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.01052, allocations: 59.39 kB / 256.4 MB, free: 2.207 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.01061, allocations: 130 kB / 256.5 MB, free: 2.07 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.01062, allocations: 29.7 kB / 256.5 MB, free: 2.035 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.01069, allocations: 136.2 kB / 256.7 MB, free: 1.898 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.01072, allocations: 47.62 kB / 256.7 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.01077, allocations: 29.7 kB / 256.8 MB, free: 1.816 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.01088, allocations: 326.8 kB / 257.1 MB, free: 1.488 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.911e-05/0.0109, allocations: 15.98 kB / 257.1 MB, free: 1.473 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.858e-05/0.01096, allocations: 66.84 kB / 257.2 MB, free: 1.379 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.01108, allocations: 86.72 kB / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.01108, allocations: 0 / 257.2 MB, free: 1.27 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001553/0.01124, allocations: 113.6 kB / 257.4 MB, free: 1.152 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.01126, allocations: 4 kB / 257.4 MB, free: 1.148 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.01126, allocations: 4 kB / 257.4 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01128, allocations: 0 / 257.4 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.01145, allocations: 39.92 kB / 257.4 MB, free: 1.105 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01145, allocations: 4 kB / 257.4 MB, free: 1.102 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.557e-05/0.01151, allocations: 7.938 kB / 257.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.01152, allocations: 12 kB / 257.4 MB, free: 1.082 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.243e-05/0.0116, allocations: 125.6 kB / 257.5 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.01163, allocations: 12.06 kB / 257.6 MB, free: 0.9375 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.01166, allocations: 16.42 kB / 257.6 MB, free: 0.918 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.784e-05/0.0117, allocations: 4 kB / 257.6 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.0117, allocations: 0 / 257.6 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01171, allocations: 0 / 257.6 MB, free: 0.9141 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.01206, allocations: 280.2 kB / 257.8 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01206, allocations: 0 / 257.8 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.01219, allocations: 27.97 kB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01219, allocations: 4.047 kB / 257.9 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.01221, allocations: 8.047 kB / 257.9 MB, free: 0.5703 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.01221, allocations: 7.938 kB / 257.9 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.01221, allocations: 7.938 kB / 257.9 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.01241, allocations: 185.3 kB / 258.1 MB, free: 364 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.449e-05/0.01242, allocations: 7.953 kB / 258.1 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.01244, allocations: 4 kB / 258.1 MB, free: 352 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.01251, allocations: 7.984 kB / 258.1 MB, free: 344 kB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.01254, allocations: 15.86 kB / 258.1 MB, free: 328 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.445e-06/0.01255, allocations: 4 kB / 258.1 MB, free: 324 kB / 234.7 MB Notification: Performance of sorting global known variables: time 2.807e-05/0.01258, allocations: 24.83 kB / 258.1 MB, free: 296 kB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01258, allocations: 0 / 258.1 MB, free: 296 kB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002633/0.01284, allocations: 28.03 kB / 258.2 MB, free: 268 kB / 234.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.74e-05/0.01293, allocations: 76.42 kB / 258.3 MB, free: 184 kB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.01307, allocations: 68.62 kB / 258.3 MB, free: 112 kB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.01308, allocations: 0 / 258.3 MB, free: 112 kB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.01311, allocations: 28.8 kB / 258.3 MB, free: 80 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.01329, allocations: 16.48 kB / 258.4 MB, free: 64 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006393/0.01393, allocations: 357.5 kB / 258.7 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.01397, allocations: 71.28 kB / 258.8 MB, free: 15.59 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.849e-05/0.01401, allocations: 13.05 kB / 258.8 MB, free: 15.57 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.01407, allocations: 71.36 kB / 258.9 MB, free: 15.5 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01407, allocations: 0 / 258.9 MB, free: 15.5 MB / 250.7 MB Notification: Performance of Templates: time 0.002603/0.01668, allocations: 0.9247 MB / 259.8 MB, free: 14.58 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 -s gbode -gbm=radauIIA3 -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.588472329080105]