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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001399/0.001399, allocations: 115.6 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 55.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2531, allocations: 50.55 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003232/0.2564, allocations: 1.997 MB / 411.9 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2574, allocations: 0.5687 MB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.2576, allocations: 4 kB / 412.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.2577, allocations: 31.72 kB / 412.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.696e-05/0.2578, allocations: 27.72 kB / 412.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.2581, allocations: 55.86 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.2583, allocations: 147.4 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.2585, allocations: 69.5 kB / 412.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.2587, allocations: 75.7 kB / 412.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2588, allocations: 67.7 kB / 412.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2588, allocations: 12 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.2589, allocations: 16 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.089e-05/0.2589, allocations: 31.91 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.259, allocations: 79.61 kB / 413.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.2593, allocations: 168.5 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2593, allocations: 0 / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.2593, allocations: 3.984 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2593, allocations: 8 kB / 413.3 MB, free: 14.23 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.0005986/0.2599, allocations: 442.9 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.26, allocations: 8.031 kB / 413.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.2601, allocations: 28.73 kB / 413.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2604, allocations: 204.1 kB / 413.9 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2604, allocations: 12.31 kB / 413.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.2605, allocations: 20.38 kB / 414 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.2608, allocations: 145.7 kB / 414.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.2608, allocations: 7.844 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.2608, allocations: 8 kB / 414.1 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2608, allocations: 4 kB / 414.1 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.261, allocations: 91.94 kB / 414.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007597/0.2618, allocations: 0.525 MB / 414.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.2619, allocations: 78.55 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.262, allocations: 28.98 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.696e-05/0.262, allocations: 3.984 kB / 414.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.2621, allocations: 34.56 kB / 414.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.2621, allocations: 8 kB / 414.9 MB, free: 12.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009396/0.263, allocations: 0.5758 MB / 415.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2631, allocations: 55.34 kB / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.2632, allocations: 134 kB / 415.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.2632, allocations: 37.86 kB / 415.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.2633, allocations: 135.9 kB / 415.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.2634, allocations: 43.45 kB / 415.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.2634, allocations: 37.64 kB / 415.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2635, allocations: 322.8 kB / 416.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.2636, allocations: 27.98 kB / 416.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.2637, allocations: 89.25 kB / 416.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.2639, allocations: 126.7 kB / 416.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2639, allocations: 4 kB / 416.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002592/0.2642, allocations: 149.4 kB / 416.6 MB, free: 10.53 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2642, allocations: 6.812 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.2642, allocations: 4.047 kB / 416.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2643, allocations: 8.172 kB / 416.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2644, allocations: 47.91 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2644, allocations: 3.938 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.09e-05/0.2645, allocations: 4 kB / 416.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.2645, allocations: 12 kB / 416.7 MB, free: 10.45 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 9.421e-05/0.2646, allocations: 129.7 kB / 416.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.2647, allocations: 11.81 kB / 416.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.2647, allocations: 16.7 kB / 416.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2647, allocations: 4 kB / 416.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2647, allocations: 7.938 kB / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2648, allocations: 0 / 416.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005089/0.2653, allocations: 448.1 kB / 417.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2653, allocations: 96 / 417.3 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.2654, allocations: 27.92 kB / 417.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2654, allocations: 0 / 417.3 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.2654, allocations: 8.062 kB / 417.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2655, allocations: 0 / 417.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.2655, allocations: 0 / 417.3 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.2658, allocations: 256.8 kB / 417.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.2659, allocations: 89.05 kB / 417.7 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.2659, allocations: 8.062 kB / 417.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.046e-05/0.266, allocations: 0 / 417.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.266, allocations: 11.98 kB / 417.7 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.266, allocations: 4 kB / 417.7 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.125e-05/0.2661, allocations: 98.36 kB / 417.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2661, allocations: 0 / 417.8 MB, free: 9.234 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.2664, allocations: 28 kB / 417.8 MB, free: 9.207 MB / 334.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.0001113/0.2665, allocations: 111.2 kB / 417.9 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002155/0.2667, allocations: 83.84 kB / 418 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2667, allocations: 0 / 418 MB, free: 9.008 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.561e-05/0.2668, allocations: 39.92 kB / 418 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.2671, allocations: 19.92 kB / 418.1 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007313/0.2679, allocations: 449.8 kB / 418.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.2682, allocations: 0.7157 MB / 419.2 MB, free: 7.73 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2682, allocations: 19.42 kB / 419.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2682, allocations: 0 / 419.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of Templates: time 0.003085/0.2713, allocations: 1.481 MB / 420.7 MB, free: 6.23 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches