Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009602/0.0009602, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008801/0.0008801, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9384/0.9384, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.009e-05, allocations: 2.312 kB / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003119/0.003139, allocations: 2.007 MB / 275.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008894/0.004028, allocations: 0.5802 MB / 276 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.034e-05/0.004109, allocations: 7.938 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.604e-05/0.004195, allocations: 19.78 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.168e-05/0.004277, allocations: 31.66 kB / 276 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.004459, allocations: 59.84 kB / 276.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.00463, allocations: 151.3 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.004744, allocations: 58.36 kB / 276.3 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001596/0.004904, allocations: 103.8 kB / 276.4 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.101e-05/0.004995, allocations: 55.8 kB / 276.4 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.005017, allocations: 12 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.234e-05/0.005059, allocations: 16 kB / 276.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.903e-05/0.005088, allocations: 31.89 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.005138, allocations: 51.91 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.005301, allocations: 115.5 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.005303, allocations: 0 / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 5e-07/0.005303, allocations: 0 / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.615e-06/0.005306, allocations: 8 kB / 276.7 MB, free: 13.77 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.0003792/0.005685, allocations: 340.3 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.005715, allocations: 15.98 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.005822, allocations: 28.91 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.005959, allocations: 133.6 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.005972, allocations: 12.38 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.006, allocations: 16.36 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.006146, allocations: 122.6 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.00616, allocations: 12.08 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.006171, allocations: 8.312 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.006178, allocations: 7.938 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.00625, allocations: 40.34 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.006725, allocations: 349.3 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.366e-05/0.006808, allocations: 50.53 kB / 277.8 MB, free: 12.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.006835, allocations: 20.8 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-06/0.006845, allocations: 4 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.006866, allocations: 34.56 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.006867, allocations: 0 / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008009/0.007668, allocations: 371 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.007696, allocations: 51.41 kB / 278.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.007777, allocations: 138.5 kB / 278.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.007789, allocations: 29.7 kB / 278.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.007842, allocations: 128.2 kB / 278.5 MB, free: 11.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.007873, allocations: 55.5 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.007922, allocations: 29.7 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.008008, allocations: 330.7 kB / 278.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.00803, allocations: 8 kB / 278.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.008092, allocations: 78.73 kB / 279 MB, free: 11.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.298e-05/0.008185, allocations: 98.72 kB / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008186, allocations: 0 / 279.1 MB, free: 11.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001324/0.008319, allocations: 101.5 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.888e-06/0.008329, allocations: 8 kB / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.008333, allocations: 0 / 279.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.008343, allocations: 4 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.008462, allocations: 40.11 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.008466, allocations: 8 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/0.008501, allocations: 7.984 kB / 279.3 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.008508, allocations: 8 kB / 279.3 MB, free: 10.87 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 5.705e-05/0.008565, allocations: 121.8 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.008586, allocations: 11.97 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.399e-05/0.00861, allocations: 20.77 kB / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.008611, allocations: 0 / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.008612, allocations: 0 / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.008614, allocations: 0 / 279.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.008847, allocations: 273.5 kB / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008848, allocations: 0 / 279.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.008912, allocations: 27.92 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008914, allocations: 0 / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.008921, allocations: 11.98 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008923, allocations: 0 / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.008923, allocations: 0 / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.009047, allocations: 201 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.009059, allocations: 11.94 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.00907, allocations: 8.094 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.009107, allocations: 4 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.009126, allocations: 7.922 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.009137, allocations: 7.984 kB / 280 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.993e-05/0.009157, allocations: 23.81 kB / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009157, allocations: 0 / 280 MB, free: 10.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001474/0.009305, allocations: 24 kB / 280 MB, free: 10.07 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 6.194e-05/0.009367, allocations: 80.41 kB / 280.1 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.009453, allocations: 64.77 kB / 280.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.009456, allocations: 4 kB / 280.2 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.767e-05/0.009484, allocations: 29.06 kB / 280.2 MB, free: 9.883 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.00962, allocations: 12.17 kB / 280.2 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005456/0.01017, allocations: 366.8 kB / 280.6 MB, free: 9.48 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.01021, allocations: 67.34 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.431e-05/0.01025, allocations: 12.97 kB / 280.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.104e-05/0.01031, allocations: 63.38 kB / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01031, allocations: 0 / 280.7 MB, free: 9.316 MB / 266.7 MB Notification: Performance of Templates: time 0.002339/0.01265, allocations: 0.9111 MB / 281.6 MB, free: 8.418 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.57731177425012]