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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 117.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 208.8 kB / 19.41 MB, free: 3.645 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.455/1.455, allocations: 227.7 MB / 247.9 MB, free: 10.16 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.00197/0.00197, allocations: 67.89 kB / 359.6 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2607, allocations: 50.54 MB / 410.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003193/0.2639, allocations: 2.008 MB / 412.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2651, allocations: 0.5765 MB / 412.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.2652, allocations: 4 kB / 412.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.2653, allocations: 23.8 kB / 412.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.2654, allocations: 31.66 kB / 412.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.2656, allocations: 55.86 kB / 412.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.2658, allocations: 151.4 kB / 413 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.266, allocations: 53.5 kB / 413.1 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2661, allocations: 63.8 kB / 413.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.2663, allocations: 75.67 kB / 413.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.2663, allocations: 12 kB / 413.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.2664, allocations: 16 kB / 413.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.2664, allocations: 31.92 kB / 413.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.2665, allocations: 75.61 kB / 413.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.2667, allocations: 175.1 kB / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2667, allocations: 0 / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.2668, allocations: 8 kB / 413.5 MB, free: 14.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2668, allocations: 3.938 kB / 413.5 MB, free: 14.1 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.0006548/0.2674, allocations: 442.8 kB / 414 MB, free: 13.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2675, allocations: 12.03 kB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.2676, allocations: 20.84 kB / 414 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.2679, allocations: 208.1 kB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2679, allocations: 12.38 kB / 414.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.268, allocations: 20.38 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.2683, allocations: 141.7 kB / 414.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.2683, allocations: 7.891 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.2683, allocations: 8 kB / 414.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.2683, allocations: 7.938 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.2685, allocations: 87.94 kB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.2693, allocations: 0.5292 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.2695, allocations: 74.53 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.2696, allocations: 28.84 kB / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2696, allocations: 0 / 415.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.2696, allocations: 38.56 kB / 415.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.2696, allocations: 0 / 415.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.001051/0.2707, allocations: 0.5954 MB / 415.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.2707, allocations: 55.72 kB / 415.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2708, allocations: 130.1 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2709, allocations: 37.64 kB / 416 MB, free: 11.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.2709, allocations: 136.1 kB / 416.1 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.271, allocations: 39.59 kB / 416.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/0.271, allocations: 37.7 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2712, allocations: 318.8 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.197e-05/0.2713, allocations: 31.98 kB / 416.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.2714, allocations: 94.78 kB / 416.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.2717, allocations: 126.7 kB / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2717, allocations: 0 / 416.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003231/0.272, allocations: 157.4 kB / 416.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.272, allocations: 8 kB / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.272, allocations: 4.188 kB / 416.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.272, allocations: 4 kB / 416.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.2722, allocations: 31.98 kB / 416.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.2722, allocations: 11.88 kB / 416.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.2723, allocations: 8 kB / 417 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.2723, allocations: 4 kB / 417 MB, free: 10.31 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.0001568/0.2725, allocations: 137.7 kB / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.2725, allocations: 7.953 kB / 417.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.2725, allocations: 12.72 kB / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2725, allocations: 4 kB / 417.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2725, allocations: 3.938 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2725, allocations: 3.938 kB / 417.1 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006475/0.2732, allocations: 444.1 kB / 417.6 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2732, allocations: 3.938 kB / 417.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.2733, allocations: 23.98 kB / 417.6 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.2733, allocations: 12.06 kB / 417.6 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.2733, allocations: 4 kB / 417.6 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2733, allocations: 3.984 kB / 417.6 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2733, allocations: 4 kB / 417.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/0.2737, allocations: 249 kB / 417.9 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.2738, allocations: 89.08 kB / 417.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2738, allocations: 4 kB / 417.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.937e-05/0.2739, allocations: 11.98 kB / 418 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.2739, allocations: 4 kB / 418 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2739, allocations: 0 / 418 MB, free: 9.191 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.107e-05/0.274, allocations: 103.2 kB / 418.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.274, allocations: 0 / 418.1 MB, free: 9.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.2743, allocations: 28 kB / 418.1 MB, free: 9.062 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.0001233/0.2744, allocations: 102.6 kB / 418.2 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002315/0.2746, allocations: 87.84 kB / 418.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2746, allocations: 0 / 418.3 MB, free: 8.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.56e-05/0.2747, allocations: 39.91 kB / 418.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.275, allocations: 19.88 kB / 418.3 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.2758, allocations: 423.5 kB / 418.7 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.2763, allocations: 0.7196 MB / 419.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.585e-05/0.2764, allocations: 8.875 kB / 419.5 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.2764, allocations: 15.44 kB / 419.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2764, allocations: 0 / 419.5 MB, free: 7.594 MB / 334.1 MB Notification: Performance of Templates: time 0.004005/0.2804, allocations: 0.8887 MB / 420.4 MB, free: 6.707 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.makefile (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 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches