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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 113 kB / 21.17 MB, free: 0.7812 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.001686/0.001686, allocations: 218.7 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.419/1.419, allocations: 230.4 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] 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] "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.001883/0.001883, allocations: 71.83 kB / 378.7 MB, free: 2.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2434, allocations: 53.33 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.00339/0.2468, allocations: 2.005 MB / 434 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.2478, allocations: 0.5882 MB / 434.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.503e-05/0.2479, allocations: 4 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.2481, allocations: 19.8 kB / 434.7 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.818e-05/0.2481, allocations: 31.66 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.2484, allocations: 59.86 kB / 434.7 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002122/0.2486, allocations: 147.4 kB / 434.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.2488, allocations: 53.52 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.249, allocations: 63.78 kB / 435 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2491, allocations: 71.69 kB / 435.1 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.2491, allocations: 12 kB / 435.1 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.537e-05/0.2492, allocations: 20 kB / 435.1 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.2492, allocations: 27.92 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.2493, allocations: 75.61 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.2496, allocations: 184.8 kB / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2496, allocations: 0 / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2496, allocations: 0 / 435.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2496, allocations: 0 / 435.4 MB, free: 4.023 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.0006365/0.2502, allocations: 438.8 kB / 435.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.2502, allocations: 15.97 kB / 435.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.2504, allocations: 24.83 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2507, allocations: 208.2 kB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.2507, allocations: 16.38 kB / 436.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.2507, allocations: 12.38 kB / 436.1 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.251, allocations: 150 kB / 436.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.251, allocations: 3.953 kB / 436.2 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.2511, allocations: 11.98 kB / 436.3 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.2511, allocations: 4 kB / 436.3 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001959/0.2513, allocations: 91.88 kB / 436.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.2521, allocations: 0.533 MB / 436.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.2522, allocations: 70.55 kB / 436.9 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.2523, allocations: 28.84 kB / 437 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.2523, allocations: 8 kB / 437 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.2523, allocations: 30.56 kB / 437 MB, free: 2.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.2523, allocations: 0 / 437 MB, free: 2.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001022/0.2534, allocations: 0.5918 MB / 437.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.2534, allocations: 63.34 kB / 437.7 MB, free: 1.473 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.2535, allocations: 138 kB / 437.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.2536, allocations: 25.7 kB / 437.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.2536, allocations: 132.2 kB / 438 MB, free: 1.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/0.2537, allocations: 43.83 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.2537, allocations: 33.7 kB / 438 MB, free: 1.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2539, allocations: 322.8 kB / 438.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.2539, allocations: 35.98 kB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.2541, allocations: 94.05 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.2543, allocations: 126.7 kB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2543, allocations: 0 / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002722/0.2545, allocations: 165.5 kB / 438.8 MB, free: 296 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2546, allocations: 8 kB / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.2546, allocations: 0 / 438.8 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2546, allocations: 4 kB / 438.8 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.2547, allocations: 31.98 kB / 438.8 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.2547, allocations: 15.86 kB / 438.8 MB, free: 236 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.2548, allocations: 8 kB / 438.8 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.2548, allocations: 4 kB / 438.8 MB, free: 224 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.0001057/0.2549, allocations: 133.8 kB / 439 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.255, allocations: 11.98 kB / 439 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.255, allocations: 12.72 kB / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.255, allocations: 0 / 439 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.255, allocations: 3.938 kB / 439 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.255, allocations: 0 / 439 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005758/0.2556, allocations: 444 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.2556, allocations: 4.25 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.2557, allocations: 31.92 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.2557, allocations: 3.938 kB / 439.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2557, allocations: 4 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2557, allocations: 4 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2557, allocations: 0 / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.2561, allocations: 257 kB / 439.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2562, allocations: 89.09 kB / 439.8 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.2562, allocations: 7.984 kB / 439.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.405e-05/0.2563, allocations: 7.984 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.2563, allocations: 4 kB / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.2563, allocations: 0 / 439.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.694e-05/0.2564, allocations: 108.4 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2564, allocations: 0 / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.2566, allocations: 28.06 kB / 440 MB, free: 14.98 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.0001157/0.2568, allocations: 95.25 kB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.257, allocations: 87.84 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.257, allocations: 0 / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.574e-05/0.2571, allocations: 44.41 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2574, allocations: 15.94 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.2582, allocations: 456.7 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.2585, allocations: 0.7119 MB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.2585, allocations: 15.44 kB / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2585, allocations: 0 / 441.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of Templates: time 0.003191/0.2617, allocations: 1.496 MB / 442.9 MB, free: 12 MB / 350.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.482437599916011]