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.001334/0.001334, allocations: 72.61 kB / 21.24 MB, free: 404 kB / 14.72 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.001428/0.001428, allocations: 161.4 kB / 24.49 MB, free: 3.465 MB / 14.72 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 1.397/1.397, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] 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 0.00158/0.00158, allocations: 50.05 kB / 319.4 MB, free: 3.277 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08608, allocations: 52.16 MB / 371.6 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003189/0.08927, allocations: 1.922 MB / 373.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.09009, allocations: 482.8 kB / 374 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.256e-05/0.09018, allocations: 4 kB / 374 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001102/0.09029, allocations: 23.73 kB / 374 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.434e-05/0.09037, allocations: 31.7 kB / 374 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.09057, allocations: 51.88 kB / 374.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.09077, allocations: 147.4 kB / 374.2 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.09093, allocations: 53.7 kB / 374.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.09104, allocations: 63.78 kB / 374.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.09115, allocations: 55.7 kB / 374.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.09118, allocations: 16 kB / 374.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.672e-05/0.09121, allocations: 16 kB / 374.4 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.813e-05/0.09125, allocations: 31.91 kB / 374.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.09132, allocations: 59.73 kB / 374.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.09154, allocations: 163.3 kB / 374.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.09154, allocations: 7.922 kB / 374.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09154, allocations: 0 / 374.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.09155, allocations: 0 / 374.7 MB, free: 4.238 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.0005826/0.09213, allocations: 365.7 kB / 375 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.09217, allocations: 12.92 kB / 375 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.09221, allocations: 16.84 kB / 375 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.09245, allocations: 146.3 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.09247, allocations: 12.31 kB / 375.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.09251, allocations: 24.33 kB / 375.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.09279, allocations: 141.7 kB / 375.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.09281, allocations: 0 / 375.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.09283, allocations: 8 kB / 375.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09283, allocations: 4 kB / 375.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.09304, allocations: 88.56 kB / 375.5 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000725/0.09376, allocations: 415.6 kB / 375.9 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.09395, allocations: 86.41 kB / 376 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.09402, allocations: 24.84 kB / 376 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.09404, allocations: 3.984 kB / 376 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.09406, allocations: 38.56 kB / 376 MB, free: 2.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.09407, allocations: 0 / 376 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009305/0.095, allocations: 458.9 kB / 376.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.09503, allocations: 55.34 kB / 376.5 MB, free: 2.199 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.09515, allocations: 137.7 kB / 376.7 MB, free: 2.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.09517, allocations: 25.7 kB / 376.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.96e-05/0.09526, allocations: 140.1 kB / 376.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.0953, allocations: 43.67 kB / 376.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.09535, allocations: 33.67 kB / 376.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.09549, allocations: 326.8 kB / 377.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.733e-05/0.09556, allocations: 31.98 kB / 377.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.09568, allocations: 86.84 kB / 377.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.09591, allocations: 123.8 kB / 377.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.09592, allocations: 4 kB / 377.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002837/0.0962, allocations: 161.3 kB / 377.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.09621, allocations: 8 kB / 377.6 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.09622, allocations: 3.938 kB / 377.6 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.09623, allocations: 4 kB / 377.6 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.09639, allocations: 35.98 kB / 377.7 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.0964, allocations: 4 kB / 377.7 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.164e-05/0.09647, allocations: 8.125 kB / 377.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.09649, allocations: 11.98 kB / 377.7 MB, free: 0.9414 MB / 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.0001075/0.09659, allocations: 129.8 kB / 377.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.09662, allocations: 7.953 kB / 377.8 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.4e-05/0.09666, allocations: 12.44 kB / 377.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.09666, allocations: 0 / 377.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.09666, allocations: 0 / 377.8 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.09667, allocations: 3.938 kB / 377.8 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.09717, allocations: 371.8 kB / 378.2 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.09717, allocations: 4.031 kB / 378.2 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.0973, allocations: 27.92 kB / 378.2 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.09731, allocations: 3.938 kB / 378.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.09732, allocations: 4 kB / 378.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.09732, allocations: 0 / 378.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.09732, allocations: 0 / 378.2 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.09767, allocations: 253.1 kB / 378.5 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.09768, allocations: 7.938 kB / 378.5 MB, free: 60 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.0977, allocations: 7.938 kB / 378.5 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.731e-05/0.09779, allocations: 12 kB / 378.5 MB, free: 40 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.09782, allocations: 7.984 kB / 378.5 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.09783, allocations: 4 kB / 378.5 MB, free: 28 kB / 334.1 MB Notification: Performance of sorting global known variables: time 8.772e-05/0.09791, allocations: 102.9 kB / 378.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09791, allocations: 192 / 378.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.09818, allocations: 28 kB / 378.7 MB, free: 15.9 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.000101/0.09829, allocations: 103.2 kB / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.09852, allocations: 88.17 kB / 378.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09852, allocations: 0 / 378.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.0986, allocations: 43.86 kB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.09889, allocations: 15.55 kB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.09964, allocations: 432.4 kB / 379.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.09975, allocations: 101.6 kB / 379.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.07e-05/0.0998, allocations: 12.97 kB / 379.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.09983, allocations: 12.5 kB / 379.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09983, allocations: 0 / 379.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Templates: time 0.003599/0.1034, allocations: 0.811 MB / 380.3 MB, free: 14.25 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.1686347459908575]