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.001148/0.001148, allocations: 80.62 kB / 22.21 MB, free: 2.289 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.001109/0.001109, allocations: 150.8 kB / 25.6 MB, free: 8.457 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.9744/0.9744, allocations: 173.4 MB / 202.2 MB, free: 8.254 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.152e-06/1.152e-06, allocations: 0 / 269.2 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.196e-05, allocations: 5.266 kB / 269.2 MB, free: 9.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002389/0.002411, allocations: 1.997 MB / 271.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006661/0.003077, allocations: 0.4891 MB / 271.7 MB, free: 7.324 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003179, allocations: 0.5938 kB / 271.7 MB, free: 7.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.003321, allocations: 23.78 kB / 271.7 MB, free: 7.301 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.423e-05/0.003395, allocations: 37.62 kB / 271.7 MB, free: 7.266 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.003615, allocations: 39.94 kB / 271.8 MB, free: 7.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.003794, allocations: 155.3 kB / 271.9 MB, free: 7.074 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.003965, allocations: 59.28 kB / 272 MB, free: 7.016 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.004125, allocations: 91.8 kB / 272.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.00424, allocations: 51.81 kB / 272.1 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.004267, allocations: 12 kB / 272.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.004285, allocations: 16.84 kB / 272.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.292e-05/0.004318, allocations: 35.89 kB / 272.2 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.163e-05/0.004359, allocations: 44.66 kB / 272.2 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.004517, allocations: 107.6 kB / 272.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.00452, allocations: 4.672 kB / 272.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.004521, allocations: 0 / 272.3 MB, free: 6.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.004525, allocations: 0.7188 kB / 272.3 MB, free: 6.66 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.0004118/0.004937, allocations: 474.8 kB / 272.8 MB, free: 6.164 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.004968, allocations: 8.031 kB / 272.8 MB, free: 6.156 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.005011, allocations: 28.84 kB / 272.8 MB, free: 6.129 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.005153, allocations: 152.4 kB / 273 MB, free: 5.953 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.005169, allocations: 8.375 kB / 273 MB, free: 5.945 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.005195, allocations: 24.36 kB / 273 MB, free: 5.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.005335, allocations: 115.6 kB / 273.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.005346, allocations: 192 / 273.1 MB, free: 5.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.005356, allocations: 8.375 kB / 273.1 MB, free: 5.793 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.005364, allocations: 8.438 kB / 273.1 MB, free: 5.785 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.735e-05/0.005421, allocations: 47.95 kB / 273.2 MB, free: 5.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.005897, allocations: 458.8 kB / 273.6 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.005992, allocations: 74.88 kB / 273.7 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.087e-05/0.006013, allocations: 15.69 kB / 273.7 MB, free: 5.148 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.006028, allocations: 7.938 kB / 273.7 MB, free: 5.141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.006051, allocations: 33.39 kB / 273.8 MB, free: 5.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.512e-06/0.006052, allocations: 0 / 273.8 MB, free: 5.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.000495/0.006547, allocations: 391.9 kB / 274.1 MB, free: 4.652 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.006579, allocations: 51.41 kB / 274.2 MB, free: 4.59 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.277e-05/0.006672, allocations: 189.8 kB / 274.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.006686, allocations: 29.7 kB / 274.4 MB, free: 4.352 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.006772, allocations: 182.9 kB / 274.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/0.006804, allocations: 43.62 kB / 274.6 MB, free: 4.121 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.729e-05/0.006862, allocations: 43.34 kB / 274.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.006985, allocations: 0.4922 MB / 275.2 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.007011, allocations: 15.98 kB / 275.2 MB, free: 3.551 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.007063, allocations: 91.88 kB / 275.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.044e-05/0.007154, allocations: 113.3 kB / 275.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007155, allocations: 0 / 275.4 MB, free: 3.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001274/0.007283, allocations: 133.5 kB / 275.5 MB, free: 3.148 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.007296, allocations: 8 kB / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.007301, allocations: 0 / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.007311, allocations: 4 kB / 275.5 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.4e-05/0.007405, allocations: 31.98 kB / 275.5 MB, free: 3.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.007411, allocations: 7.984 kB / 275.6 MB, free: 3.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.387e-05/0.007445, allocations: 7.938 kB / 275.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.007453, allocations: 8 kB / 275.6 MB, free: 3.082 MB / 250.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 6.885e-05/0.007521, allocations: 160.5 kB / 275.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.007544, allocations: 15.91 kB / 275.7 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.007576, allocations: 20.47 kB / 275.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007578, allocations: 0 / 275.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.00758, allocations: 0 / 275.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.007583, allocations: 3.984 kB / 275.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/0.007866, allocations: 378.2 kB / 276.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.007868, allocations: 4 kB / 276.1 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.482e-05/0.007943, allocations: 23.92 kB / 276.2 MB, free: 2.438 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.007946, allocations: 4 kB / 276.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.007957, allocations: 4 kB / 276.2 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.007959, allocations: 8.062 kB / 276.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007961, allocations: 0 / 276.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.008136, allocations: 275.1 kB / 276.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-06/0.008145, allocations: 7.953 kB / 276.5 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.008158, allocations: 8 kB / 276.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.008197, allocations: 0 / 276.5 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.008223, allocations: 11.92 kB / 276.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.008228, allocations: 4 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.306e-05/0.008271, allocations: 137.4 kB / 276.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008271, allocations: 0 / 276.6 MB, free: 1.961 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001818/0.008453, allocations: 32.03 kB / 276.6 MB, free: 1.93 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.978e-05/0.008532, allocations: 91.25 kB / 276.7 MB, free: 1.832 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.008638, allocations: 75.5 kB / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.00864, allocations: 0 / 276.8 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.139e-05/0.008671, allocations: 31.89 kB / 276.8 MB, free: 1.719 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.008892, allocations: 8.188 kB / 276.8 MB, free: 1.711 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000569/0.009461, allocations: 398.3 kB / 277.2 MB, free: 1.285 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.817e-05/0.009499, allocations: 67.33 kB / 277.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.663e-05/0.009536, allocations: 16.97 kB / 277.3 MB, free: 1.18 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.206e-05/0.009588, allocations: 78.2 kB / 277.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009589, allocations: 0 / 277.4 MB, free: 1.102 MB / 250.7 MB Notification: Performance of Templates: time 0.002559/0.01215, allocations: 0.9391 MB / 278.3 MB, free: 180 kB / 250.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 -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.7204137621447444]