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.0014/0.0014, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001511/0.001511, allocations: 209.8 kB / 24.48 MB, free: 3.934 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.439/1.439, allocations: 230.5 MB / 258.1 MB, free: 7.785 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.002014/0.002014, allocations: 63.89 kB / 379 MB, free: 2.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2874, allocations: 53.42 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003354/0.2908, allocations: 1.92 MB / 434.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.2918, allocations: 0.5415 MB / 434.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.2919, allocations: 7.938 kB / 434.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.292, allocations: 23.78 kB / 434.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.178e-05/0.2921, allocations: 31.64 kB / 434.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.2924, allocations: 63.86 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.2926, allocations: 147.4 kB / 435.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.2927, allocations: 49.38 kB / 435.2 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2929, allocations: 71.77 kB / 435.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.293, allocations: 55.7 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.293, allocations: 16 kB / 435.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.853e-05/0.2931, allocations: 16 kB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.162e-05/0.2931, allocations: 31.91 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.619e-05/0.2932, allocations: 63.72 kB / 435.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002551/0.2934, allocations: 178.3 kB / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2934, allocations: 0 / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2934, allocations: 0 / 435.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.2935, allocations: 3.938 kB / 435.6 MB, free: 3.324 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.0006182/0.2941, allocations: 369.7 kB / 435.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2941, allocations: 11.98 kB / 436 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.2943, allocations: 32.83 kB / 436 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.2946, allocations: 158.2 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2946, allocations: 8.375 kB / 436.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.2946, allocations: 16.38 kB / 436.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003009/0.2949, allocations: 150 kB / 436.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2949, allocations: 3.953 kB / 436.3 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.295, allocations: 8 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.295, allocations: 4 kB / 436.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002042/0.2952, allocations: 95.88 kB / 436.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007487/0.2959, allocations: 407.9 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2961, allocations: 74.55 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.2962, allocations: 28.84 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2962, allocations: 0 / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.2962, allocations: 34.56 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.2962, allocations: 0 / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001018/0.2972, allocations: 475.7 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.2973, allocations: 51.41 kB / 437.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.2974, allocations: 141.1 kB / 437.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.2974, allocations: 25.7 kB / 437.6 MB, free: 1.078 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.2975, allocations: 132.2 kB / 437.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.2976, allocations: 47.62 kB / 437.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.2976, allocations: 29.7 kB / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2978, allocations: 322.8 kB / 438.2 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.2979, allocations: 39.94 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.298, allocations: 93.53 kB / 438.3 MB, free: 396 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.2982, allocations: 126.8 kB / 438.4 MB, free: 244 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2982, allocations: 0 / 438.4 MB, free: 244 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002942/0.2985, allocations: 161.4 kB / 438.6 MB, free: 76 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.2985, allocations: 4 kB / 438.6 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2985, allocations: 4 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2985, allocations: 0 / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.2987, allocations: 35.98 kB / 438.6 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2987, allocations: 3.938 kB / 438.6 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.2988, allocations: 11.94 kB / 438.6 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.2988, allocations: 8 kB / 438.6 MB, free: 8 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.0001228/0.2989, allocations: 130.7 kB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.2989, allocations: 11.95 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.299, allocations: 8.719 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.299, allocations: 4 kB / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.299, allocations: 0 / 438.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.299, allocations: 3.938 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.2996, allocations: 371.7 kB / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2996, allocations: 0 / 439.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2997, allocations: 27.92 kB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2997, allocations: 15.94 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2997, allocations: 0 / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2997, allocations: 4.188 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2997, allocations: 4.047 kB / 439.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.3001, allocations: 257 kB / 439.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.097e-05/0.3001, allocations: 11.97 kB / 439.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.3001, allocations: 7.938 kB / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.972e-05/0.3002, allocations: 0 / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.3002, allocations: 11.98 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.3003, allocations: 8.062 kB / 439.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.3003, allocations: 99.27 kB / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3003, allocations: 0 / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3006, allocations: 28 kB / 439.6 MB, free: 14.95 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.000128/0.3007, allocations: 91.25 kB / 439.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.301, allocations: 91.77 kB / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.301, allocations: 384 / 439.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.3011, allocations: 43.92 kB / 439.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.3014, allocations: 15.98 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008705/0.3022, allocations: 450 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.3024, allocations: 109.6 kB / 440.4 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.3024, allocations: 11.44 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3024, allocations: 0 / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Templates: time 0.003412/0.3058, allocations: 1.556 MB / 442 MB, free: 12.54 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/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: 6.982863370794803]