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.00127/0.00127, allocations: 109.4 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001359/0.001359, allocations: 221.5 kB / 23 MB, free: 5.582 MB / 14.72 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 1.451/1.451, allocations: 230.2 MB / 256.2 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00189/0.00189, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2874, allocations: 53.33 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003445/0.2909, allocations: 2.017 MB / 431.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001104/0.292, allocations: 0.5804 MB / 432.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.2921, allocations: 4 kB / 432.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.2922, allocations: 19.78 kB / 432.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.2923, allocations: 39.64 kB / 432.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.2926, allocations: 51.94 kB / 432.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.2928, allocations: 147.4 kB / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.293, allocations: 53.53 kB / 432.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.2932, allocations: 67.77 kB / 432.8 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001335/0.2933, allocations: 67.7 kB / 432.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.2933, allocations: 12 kB / 432.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.987e-05/0.2934, allocations: 20 kB / 432.9 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.2934, allocations: 39.84 kB / 432.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.494e-05/0.2935, allocations: 79.66 kB / 433 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.2938, allocations: 172.5 kB / 433.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2938, allocations: 0 / 433.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2938, allocations: 0 / 433.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.2938, allocations: 0 / 433.1 MB, free: 4.152 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.0007098/0.2945, allocations: 446.8 kB / 433.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2946, allocations: 12.03 kB / 433.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.2947, allocations: 28.83 kB / 433.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.295, allocations: 208.1 kB / 433.8 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.295, allocations: 8.375 kB / 433.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.304e-05/0.2951, allocations: 28.27 kB / 433.9 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.2954, allocations: 145.7 kB / 434 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.2954, allocations: 0 / 434 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.2954, allocations: 4 kB / 434 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.2954, allocations: 8 kB / 434 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.2956, allocations: 95.88 kB / 434.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.2965, allocations: 0.5136 MB / 434.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.2967, allocations: 74.5 kB / 434.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.234e-05/0.2967, allocations: 32.84 kB / 434.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.2967, allocations: 0 / 434.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.2968, allocations: 38.55 kB / 434.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.52e-07/0.2968, allocations: 0 / 434.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001079/0.2979, allocations: 0.588 MB / 435.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.2979, allocations: 59.38 kB / 435.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.298, allocations: 138 kB / 435.5 MB, free: 1.465 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.2981, allocations: 25.7 kB / 435.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.2982, allocations: 140.1 kB / 435.7 MB, free: 1.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.2982, allocations: 47.62 kB / 435.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.2983, allocations: 33.7 kB / 435.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.2984, allocations: 322.8 kB / 436.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.2985, allocations: 31.97 kB / 436.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.2986, allocations: 82.81 kB / 436.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2988, allocations: 130.7 kB / 436.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.2988, allocations: 4 kB / 436.3 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002765/0.2991, allocations: 161.4 kB / 436.5 MB, free: 436 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2991, allocations: 4 kB / 436.5 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2991, allocations: 4 kB / 436.5 MB, free: 428 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.2992, allocations: 4 kB / 436.5 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2993, allocations: 35.97 kB / 436.5 MB, free: 388 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.2993, allocations: 7.875 kB / 436.6 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.2994, allocations: 4 kB / 436.6 MB, free: 376 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.2994, allocations: 16.19 kB / 436.6 MB, free: 360 kB / 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.0001039/0.2995, allocations: 129.8 kB / 436.7 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.2995, allocations: 7.953 kB / 436.7 MB, free: 212 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.2996, allocations: 16.7 kB / 436.7 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2996, allocations: 4.047 kB / 436.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2996, allocations: 7.922 kB / 436.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2996, allocations: 0 / 436.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.3002, allocations: 448 kB / 437.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3002, allocations: 0 / 437.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.3003, allocations: 27.92 kB / 437.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3003, allocations: 0 / 437.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.3003, allocations: 4 kB / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3004, allocations: 3.984 kB / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3004, allocations: 0 / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.3007, allocations: 264.3 kB / 437.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.3008, allocations: 89.05 kB / 437.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.3008, allocations: 4 kB / 437.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.3009, allocations: 0 / 437.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.3009, allocations: 11.98 kB / 437.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3009, allocations: 4 kB / 437.6 MB, free: 15.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.899e-05/0.301, allocations: 105.6 kB / 437.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.301, allocations: 0 / 437.7 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.3013, allocations: 28 kB / 437.7 MB, free: 15.11 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.0001215/0.3014, allocations: 95.25 kB / 437.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002435/0.3016, allocations: 83.83 kB / 437.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3016, allocations: 384 / 437.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.602e-05/0.3017, allocations: 43.92 kB / 437.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.302, allocations: 23.86 kB / 437.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.3028, allocations: 419.4 kB / 438.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3032, allocations: 0.7158 MB / 439.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.3032, allocations: 16.86 kB / 439.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.3033, allocations: 15.44 kB / 439.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3033, allocations: 0 / 439.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Templates: time 0.003871/0.3071, allocations: 0.9228 MB / 440 MB, free: 12.73 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.243724253028631]