Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009564/0.0009564, allocations: 80.92 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.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.0009425/0.0009425, allocations: 177 kB / 24.92 MB, free: 8.652 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9744/0.9744, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 273.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.207e-05, allocations: 2.312 kB / 273.4 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002945/0.002967, allocations: 2.014 MB / 275.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003983, allocations: 0.5763 MB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.004091, allocations: 4 kB / 276 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001236/0.004215, allocations: 23.73 kB / 276 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.521e-05/0.00431, allocations: 27.72 kB / 276.1 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.004552, allocations: 55.84 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.004729, allocations: 155.3 kB / 276.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.004853, allocations: 50.42 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.005046, allocations: 111.6 kB / 276.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.005141, allocations: 51.86 kB / 276.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.005164, allocations: 16 kB / 276.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.079e-05/0.005215, allocations: 20 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.005241, allocations: 27.91 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.005292, allocations: 55.84 kB / 276.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.005469, allocations: 111.6 kB / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005471, allocations: 0 / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005472, allocations: 0 / 276.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002488/0.005721, allocations: 4 kB / 276.7 MB, free: 14.02 MB / 266.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.0004039/0.006125, allocations: 340.3 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.006163, allocations: 16.02 kB / 277.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.006284, allocations: 24.92 kB / 277.1 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.006442, allocations: 145.5 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.006457, allocations: 12.38 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.006486, allocations: 12.38 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.006644, allocations: 119.2 kB / 277.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.006659, allocations: 8.141 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.006671, allocations: 4.375 kB / 277.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.006678, allocations: 11.94 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.647e-05/0.006745, allocations: 39.72 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.007228, allocations: 353.3 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.007322, allocations: 54.53 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.007346, allocations: 16.98 kB / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.007357, allocations: 0 / 277.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.00738, allocations: 38.56 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.143e-06/0.007382, allocations: 0 / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005843/0.007966, allocations: 367.7 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.007998, allocations: 55.34 kB / 278.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.75e-05/0.008086, allocations: 142.5 kB / 278.4 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.008099, allocations: 25.7 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.008156, allocations: 132.2 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.008185, allocations: 43.58 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.008229, allocations: 37.7 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.633e-05/0.008315, allocations: 330.7 kB / 279 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.008338, allocations: 8 kB / 279 MB, free: 11.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.008392, allocations: 70.8 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.65e-05/0.008489, allocations: 102.8 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.00849, allocations: 4 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001352/0.008625, allocations: 105.5 kB / 279.3 MB, free: 11.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008638, allocations: 8 kB / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.008644, allocations: 0 / 279.3 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.008658, allocations: 4 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.008772, allocations: 39.91 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.008777, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.008825, allocations: 8 kB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.008835, allocations: 8.188 kB / 279.3 MB, free: 11.12 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 7.634e-05/0.008911, allocations: 121.7 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.008941, allocations: 11.98 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.008968, allocations: 12.78 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.008971, allocations: 0 / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.008973, allocations: 0 / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.008977, allocations: 0 / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.009286, allocations: 280.2 kB / 279.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.009288, allocations: 3.938 kB / 279.8 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.009375, allocations: 28.05 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.009377, allocations: 0 / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.009386, allocations: 8 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009388, allocations: 0 / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.00939, allocations: 0 / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/0.009547, allocations: 197.1 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.009559, allocations: 11.94 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.009574, allocations: 3.984 kB / 280 MB, free: 10.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.975e-05/0.009634, allocations: 8 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.009658, allocations: 7.922 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.009667, allocations: 12.03 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.327e-05/0.00969, allocations: 23.94 kB / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00969, allocations: 0 / 280.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000229/0.009919, allocations: 24 kB / 280.1 MB, free: 10.32 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 9.367e-05/0.01001, allocations: 84.36 kB / 280.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.01013, allocations: 71.55 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.01013, allocations: 0 / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.01017, allocations: 37.16 kB / 280.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01037, allocations: 16.16 kB / 280.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.01102, allocations: 354.6 kB / 280.6 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.939e-05/0.01107, allocations: 71.33 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.55e-05/0.01111, allocations: 12.98 kB / 280.7 MB, free: 9.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.01117, allocations: 63.36 kB / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01117, allocations: 0 / 280.8 MB, free: 9.562 MB / 266.7 MB Notification: Performance of Templates: time 0.002941/0.01411, allocations: 0.9082 MB / 281.7 MB, free: 8.672 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.745816516224295]