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.001425/0.001425, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001444/0.001444, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247 MB, free: 9.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 64.22 kB / 306.9 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 50.54 MB / 357.4 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003459/0.1148, allocations: 2.045 MB / 359.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.116, allocations: 0.5648 MB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1161, allocations: 4 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.1164, allocations: 27.84 kB / 360.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.1165, allocations: 23.77 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.1168, allocations: 43.97 kB / 360.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.117, allocations: 143.4 kB / 360.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.1172, allocations: 65.94 kB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.1173, allocations: 63.78 kB / 360.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1175, allocations: 63.69 kB / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.1175, allocations: 12 kB / 360.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.035e-05/0.1176, allocations: 12 kB / 360.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.158e-05/0.1176, allocations: 35.84 kB / 360.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.1177, allocations: 67.67 kB / 360.6 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.1179, allocations: 127.9 kB / 360.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1179, allocations: 0 / 360.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1179, allocations: 0 / 360.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1179, allocations: 4 kB / 360.7 MB, free: 10.98 MB / 302.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.0006582/0.1186, allocations: 443.1 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1186, allocations: 8.031 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.1188, allocations: 24.75 kB / 361.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1191, allocations: 208.1 kB / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1191, allocations: 12.38 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.1192, allocations: 20.31 kB / 361.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.1195, allocations: 149.6 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1195, allocations: 0 / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1195, allocations: 4 kB / 361.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1196, allocations: 4 kB / 361.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.1198, allocations: 91.94 kB / 361.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/0.1206, allocations: 0.5365 MB / 362.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1208, allocations: 74.55 kB / 362.3 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.183e-05/0.1209, allocations: 32.84 kB / 362.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.1209, allocations: 4.125 kB / 362.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1209, allocations: 38.56 kB / 362.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.121, allocations: 0 / 362.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.001092/0.122, allocations: 0.5943 MB / 362.9 MB, free: 8.492 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.1221, allocations: 59.28 kB / 363 MB, free: 8.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1223, allocations: 130.1 kB / 363.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.1223, allocations: 25.7 kB / 363.2 MB, free: 8.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.1224, allocations: 128 kB / 363.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.964e-05/0.1224, allocations: 43.45 kB / 363.3 MB, free: 8.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.1225, allocations: 37.61 kB / 363.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1226, allocations: 326.8 kB / 363.7 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.431e-05/0.1227, allocations: 31.92 kB / 363.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1228, allocations: 82.84 kB / 363.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1231, allocations: 127.8 kB / 363.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1231, allocations: 4 kB / 363.9 MB, free: 7.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002758/0.1233, allocations: 157.4 kB / 364.1 MB, free: 7.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.1234, allocations: 4 kB / 364.1 MB, free: 7.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1234, allocations: 4 kB / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1234, allocations: 96 / 364.1 MB, free: 7.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.1236, allocations: 47.86 kB / 364.1 MB, free: 7.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.1236, allocations: 3.938 kB / 364.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.1237, allocations: 4 kB / 364.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1237, allocations: 12 kB / 364.1 MB, free: 7.184 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.0001119/0.1238, allocations: 141.8 kB / 364.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.394e-05/0.1239, allocations: 7.906 kB / 364.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.1239, allocations: 12.72 kB / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1239, allocations: 0 / 364.3 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1239, allocations: 7.938 kB / 364.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1239, allocations: 0 / 364.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.1245, allocations: 447.9 kB / 364.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.1245, allocations: 0 / 364.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.1246, allocations: 23.98 kB / 364.8 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1247, allocations: 4 kB / 364.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1247, allocations: 4 kB / 364.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1247, allocations: 0 / 364.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1247, allocations: 4 kB / 364.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.125, allocations: 257 kB / 365 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1251, allocations: 85.02 kB / 365.1 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.1251, allocations: 4 kB / 365.1 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.375e-05/0.1252, allocations: 3.984 kB / 365.1 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1253, allocations: 8 kB / 365.1 MB, free: 6.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.1253, allocations: 4 kB / 365.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.1253, allocations: 105.6 kB / 365.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1253, allocations: 0 / 365.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.1256, allocations: 28 kB / 365.3 MB, free: 5.949 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.0001205/0.1258, allocations: 103.2 kB / 365.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.126, allocations: 83.84 kB / 365.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.126, allocations: 384 / 365.5 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.1261, allocations: 48.19 kB / 365.5 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1264, allocations: 24.2 kB / 365.5 MB, free: 5.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007963/0.1272, allocations: 0.5029 MB / 366 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.1275, allocations: 0.716 MB / 366.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.1276, allocations: 11.44 kB / 366.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1276, allocations: 0 / 366.8 MB, free: 4.387 MB / 302.1 MB Notification: Performance of Templates: time 0.003075/0.1306, allocations: 1.471 MB / 368.2 MB, free: 2.922 MB / 302.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