Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 109.3 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001218/0.001218, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.494/1.494, allocations: 230.4 MB / 251.1 MB, free: 8.5 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.83 kB / 368.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2853, allocations: 53.31 MB / 422.3 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003461/0.2888, allocations: 2.017 MB / 424.3 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2898, allocations: 0.5727 MB / 424.8 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2899, allocations: 7.938 kB / 424.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.29, allocations: 27.78 kB / 424.9 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.779e-05/0.2901, allocations: 27.72 kB / 424.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002518/0.2904, allocations: 55.86 kB / 425 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002503/0.2906, allocations: 151.4 kB / 425.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2908, allocations: 45.53 kB / 425.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.291, allocations: 67.78 kB / 425.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2911, allocations: 71.69 kB / 425.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.2911, allocations: 12 kB / 425.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.934e-05/0.2912, allocations: 16 kB / 425.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.789e-05/0.2912, allocations: 43.84 kB / 425.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.303e-05/0.2913, allocations: 71.67 kB / 425.4 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.2916, allocations: 170.8 kB / 425.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2916, allocations: 0 / 425.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2916, allocations: 0 / 425.6 MB, free: 4.387 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.2916, allocations: 4 kB / 425.6 MB, free: 4.383 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.0006374/0.2922, allocations: 446.8 kB / 426 MB, free: 3.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2923, allocations: 16.03 kB / 426 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.2924, allocations: 28.77 kB / 426.1 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2927, allocations: 208.1 kB / 426.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2927, allocations: 8.375 kB / 426.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.2927, allocations: 16.38 kB / 426.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.293, allocations: 145.7 kB / 426.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2931, allocations: 3.953 kB / 426.5 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.2931, allocations: 12 kB / 426.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2931, allocations: 8 kB / 426.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.2933, allocations: 87.94 kB / 426.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008052/0.2941, allocations: 0.5174 MB / 427.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.2943, allocations: 78.5 kB / 427.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.2943, allocations: 28.84 kB / 427.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.2944, allocations: 0 / 427.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.2944, allocations: 38.56 kB / 427.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.042e-06/0.2944, allocations: 0 / 427.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001067/0.2955, allocations: 0.5995 MB / 427.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2955, allocations: 55.34 kB / 427.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.2956, allocations: 130.1 kB / 428 MB, free: 1.695 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2957, allocations: 29.7 kB / 428 MB, free: 1.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.013e-05/0.2957, allocations: 136.1 kB / 428.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.2958, allocations: 43.64 kB / 428.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.77e-05/0.2958, allocations: 33.89 kB / 428.2 MB, free: 1.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.296, allocations: 322.8 kB / 428.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.2961, allocations: 39.91 kB / 428.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.2962, allocations: 78.86 kB / 428.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.2964, allocations: 134.7 kB / 428.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2964, allocations: 0 / 428.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002688/0.2967, allocations: 157.4 kB / 429 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2967, allocations: 8 kB / 429 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2967, allocations: 0 / 429 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.2967, allocations: 4 kB / 429 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2969, allocations: 43.91 kB / 429 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2969, allocations: 7.938 kB / 429 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.747e-05/0.2969, allocations: 4 kB / 429 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.297, allocations: 8.188 kB / 429 MB, free: 0.5859 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.0001045/0.2971, allocations: 133.7 kB / 429.2 MB, free: 456 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.2971, allocations: 7.953 kB / 429.2 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/0.2971, allocations: 16.7 kB / 429.2 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2971, allocations: 4 kB / 429.2 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.2971, allocations: 7.938 kB / 429.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2972, allocations: 0 / 429.2 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.2977, allocations: 451.9 kB / 429.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2977, allocations: 0 / 429.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.2979, allocations: 28.11 kB / 429.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.2979, allocations: 4 kB / 429.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.2979, allocations: 3.938 kB / 429.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2979, allocations: 0 / 429.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.2979, allocations: 4 kB / 429.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.2982, allocations: 249.2 kB / 429.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.194e-05/0.2983, allocations: 85.02 kB / 430 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.2983, allocations: 8 kB / 430 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.902e-05/0.2984, allocations: 0 / 430 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2984, allocations: 11.92 kB / 430 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.2985, allocations: 8 kB / 430 MB, free: 15.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.199e-05/0.2985, allocations: 99.33 kB / 430.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2985, allocations: 3.938 kB / 430.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2988, allocations: 28 kB / 430.2 MB, free: 15.34 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.0001061/0.2989, allocations: 99.25 kB / 430.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.2991, allocations: 87.83 kB / 430.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2991, allocations: 384 / 430.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.2992, allocations: 39.92 kB / 430.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2995, allocations: 22.89 kB / 430.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007434/0.3002, allocations: 426 kB / 430.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3006, allocations: 0.7157 MB / 431.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.3006, allocations: 8.875 kB / 431.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.3007, allocations: 23.44 kB / 431.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3007, allocations: 0 / 431.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of Templates: time 0.003723/0.3044, allocations: 0.8958 MB / 432.5 MB, free: 12.97 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches