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.0016/0.0016, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.002039/0.002039, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.429/1.429, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001042, allocations: 55.78 kB / 301.3 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1031, allocations: 49.44 MB / 350.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003776/0.107, allocations: 1.971 MB / 352.7 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.108, allocations: 0.5142 MB / 353.2 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.1082, allocations: 4 kB / 353.2 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1083, allocations: 23.8 kB / 353.2 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.1085, allocations: 35.7 kB / 353.3 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.1088, allocations: 39.89 kB / 353.3 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.109, allocations: 143.4 kB / 353.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.1092, allocations: 73.38 kB / 353.5 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.1094, allocations: 67.77 kB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1096, allocations: 63.7 kB / 353.6 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.584e-05/0.1096, allocations: 16 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.271e-05/0.1096, allocations: 12 kB / 353.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1097, allocations: 35.86 kB / 353.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.19e-05/0.1098, allocations: 75.66 kB / 353.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.11, allocations: 163.7 kB / 353.9 MB, free: 1.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.11, allocations: 4 kB / 353.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.11, allocations: 0 / 353.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1101, allocations: 0 / 353.9 MB, free: 1.176 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.0006942/0.1108, allocations: 435.1 kB / 354.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1108, allocations: 8.031 kB / 354.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.1109, allocations: 16.75 kB / 354.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.1111, allocations: 204.1 kB / 354.6 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1111, allocations: 12.38 kB / 354.6 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.942e-05/0.1112, allocations: 20.36 kB / 354.6 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1115, allocations: 142.5 kB / 354.8 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1115, allocations: 7.938 kB / 354.8 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.1115, allocations: 8 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1115, allocations: 4 kB / 354.8 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.1118, allocations: 99.38 kB / 354.9 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000899/0.1127, allocations: 0.5251 MB / 355.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1129, allocations: 78.48 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.1129, allocations: 24.86 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.113, allocations: 7.984 kB / 355.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.113, allocations: 34.56 kB / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.743e-06/0.113, allocations: 0 / 355.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001028/0.114, allocations: 0.5945 MB / 356.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1141, allocations: 59.34 kB / 356.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.1142, allocations: 132.9 kB / 356.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1142, allocations: 29.7 kB / 356.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.1143, allocations: 135.9 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1144, allocations: 39.45 kB / 356.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-05/0.1145, allocations: 34.73 kB / 356.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1146, allocations: 318.8 kB / 356.9 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.986e-05/0.1147, allocations: 39.92 kB / 356.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1148, allocations: 78.86 kB / 357 MB, free: 13.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.115, allocations: 142.6 kB / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.115, allocations: 4 kB / 357.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002779/0.1153, allocations: 157.5 kB / 357.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1153, allocations: 4 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1154, allocations: 4 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1154, allocations: 0 / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1155, allocations: 39.97 kB / 357.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1156, allocations: 7.875 kB / 357.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1156, allocations: 8 kB / 357.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.1157, allocations: 8 kB / 357.4 MB, free: 13.4 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 9.805e-05/0.1158, allocations: 121.8 kB / 357.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1158, allocations: 15.94 kB / 357.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.1159, allocations: 16.36 kB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1159, allocations: 0 / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1159, allocations: 3.938 kB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1159, allocations: 4 kB / 357.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.1164, allocations: 451.9 kB / 358 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1165, allocations: 0 / 358 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.1166, allocations: 27.92 kB / 358 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1166, allocations: 0 / 358 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.1167, allocations: 8 kB / 358 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.1167, allocations: 0 / 358 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1167, allocations: 0 / 358 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.117, allocations: 260.5 kB / 358.2 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1171, allocations: 85.05 kB / 358.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1171, allocations: 192 / 358.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.1172, allocations: 8 kB / 358.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1173, allocations: 11.92 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.1173, allocations: 4 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.104e-05/0.1173, allocations: 99.27 kB / 358.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1174, allocations: 4.062 kB / 358.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1176, allocations: 24 kB / 358.5 MB, free: 12.16 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.0001051/0.1177, allocations: 99.72 kB / 358.6 MB, free: 12.06 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.118, allocations: 103.8 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.118, allocations: 0 / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.913e-05/0.1181, allocations: 44.42 kB / 358.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.1185, allocations: 15.92 kB / 358.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008244/0.1193, allocations: 453.2 kB / 359.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1196, allocations: 0.7119 MB / 359.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.915e-05/0.1197, allocations: 15.44 kB / 359.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1197, allocations: 0 / 359.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Templates: time 0.003231/0.1229, allocations: 1.457 MB / 361.4 MB, free: 9.207 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