Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Translational.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001706, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241.8 MB, free: 15.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 47.17 kB / 300.6 MB, free: 6.285 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1007, allocations: 49.44 MB / 350 MB, free: 4.832 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003716/0.1045, allocations: 2.034 MB / 352.1 MB, free: 2.781 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009554/0.1055, allocations: 0.4948 MB / 352.6 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.1056, allocations: 8 kB / 352.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1058, allocations: 19.86 kB / 352.6 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.106, allocations: 27.77 kB / 352.6 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1062, allocations: 31.97 kB / 352.7 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002197/0.1064, allocations: 139.5 kB / 352.8 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.1066, allocations: 65.8 kB / 352.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.1067, allocations: 59.78 kB / 352.9 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1069, allocations: 59.7 kB / 353 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.1069, allocations: 12 kB / 353 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.988e-05/0.107, allocations: 12 kB / 353 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.54e-05/0.107, allocations: 27.91 kB / 353 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.1071, allocations: 63.67 kB / 353.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.1072, allocations: 135.9 kB / 353.2 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1073, allocations: 0 / 353.2 MB, free: 1.629 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1073, allocations: 4 kB / 353.2 MB, free: 1.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1073, allocations: 0 / 353.2 MB, free: 1.625 MB / 286.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.0006703/0.108, allocations: 441.7 kB / 353.7 MB, free: 1.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.108, allocations: 11.97 kB / 353.7 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.1081, allocations: 16.75 kB / 353.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1083, allocations: 200.1 kB / 353.9 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1084, allocations: 12.38 kB / 353.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1084, allocations: 24.38 kB / 353.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.1087, allocations: 138.6 kB / 354.1 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1088, allocations: 3.984 kB / 354.1 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1088, allocations: 4 kB / 354.1 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1088, allocations: 7.938 kB / 354.1 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.109, allocations: 95.39 kB / 354.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.1099, allocations: 0.529 MB / 354.7 MB, free: 16 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1102, allocations: 74.5 kB / 354.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.1102, allocations: 36.84 kB / 354.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1103, allocations: 0 / 354.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1103, allocations: 30.56 kB / 354.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1103, allocations: 0 / 354.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001131/0.1114, allocations: 0.61 MB / 355.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.1115, allocations: 55.34 kB / 355.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.1116, allocations: 128.9 kB / 355.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1117, allocations: 29.7 kB / 355.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.1118, allocations: 139.8 kB / 355.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.1118, allocations: 35.45 kB / 355.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.1119, allocations: 33.72 kB / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.112, allocations: 322.8 kB / 356.2 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.826e-05/0.1121, allocations: 36.97 kB / 356.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1122, allocations: 82.84 kB / 356.3 MB, free: 14.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002049/0.1125, allocations: 134.7 kB / 356.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1125, allocations: 0 / 356.4 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002793/0.1127, allocations: 157.4 kB / 356.6 MB, free: 13.92 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1128, allocations: 11.94 kB / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1128, allocations: 0 / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1128, allocations: 4 kB / 356.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.113, allocations: 31.98 kB / 356.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.113, allocations: 7.938 kB / 356.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.1131, allocations: 7.984 kB / 356.6 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1131, allocations: 8 kB / 356.6 MB, free: 13.85 MB / 302.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.0001347/0.1133, allocations: 133.9 kB / 356.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.1133, allocations: 7.906 kB / 356.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.1133, allocations: 20.38 kB / 356.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1134, allocations: 0 / 356.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1134, allocations: 3.938 kB / 356.8 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1134, allocations: 3.984 kB / 356.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000565/0.1139, allocations: 444 kB / 357.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.114, allocations: 7.984 kB / 357.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.1141, allocations: 23.94 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1141, allocations: 3.984 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1141, allocations: 0 / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.1141, allocations: 4 kB / 357.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1142, allocations: 3.938 kB / 357.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1145, allocations: 253.1 kB / 357.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.1146, allocations: 85.05 kB / 357.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1146, allocations: 3.984 kB / 357.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.509e-05/0.1147, allocations: 4 kB / 357.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1148, allocations: 12.17 kB / 357.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.1148, allocations: 4.109 kB / 357.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.963e-05/0.1148, allocations: 99.2 kB / 357.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1148, allocations: 0 / 357.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1151, allocations: 28 kB / 357.8 MB, free: 12.61 MB / 302.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.0001314/0.1153, allocations: 107.2 kB / 357.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.1155, allocations: 92.14 kB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1155, allocations: 4 kB / 358 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.1156, allocations: 39.92 kB / 358 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.116, allocations: 15.94 kB / 358 MB, free: 12.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.1169, allocations: 0.4997 MB / 358.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1172, allocations: 0.7121 MB / 359.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.1173, allocations: 15.44 kB / 359.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1173, allocations: 0 / 359.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of Templates: time 0.003271/0.1206, allocations: 1.438 MB / 360.7 MB, free: 9.621 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches