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.0014/0.0014, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 60.09 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.09752, allocations: 50.53 MB / 358.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002943/0.1005, allocations: 1.987 MB / 360.9 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.1014, allocations: 0.5804 MB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.1015, allocations: 4 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.1016, allocations: 23.78 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.527e-05/0.1017, allocations: 39.64 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.1019, allocations: 51.88 kB / 361.6 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1021, allocations: 151.4 kB / 361.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.1022, allocations: 69.48 kB / 361.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.1024, allocations: 71.78 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1025, allocations: 67.7 kB / 361.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.197e-05/0.1025, allocations: 12 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.1026, allocations: 19.98 kB / 362 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.1026, allocations: 31.86 kB / 362 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.1027, allocations: 75.66 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.1029, allocations: 171.3 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1029, allocations: 0 / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1029, allocations: 0 / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1029, allocations: 0 / 362.2 MB, free: 10.02 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.0005406/0.1035, allocations: 447 kB / 362.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.1035, allocations: 8.031 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.1037, allocations: 28.73 kB / 362.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1039, allocations: 212 kB / 362.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1039, allocations: 12.31 kB / 362.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.104, allocations: 16.38 kB / 362.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1042, allocations: 145.7 kB / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1042, allocations: 0 / 363.1 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1043, allocations: 12 kB / 363.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1043, allocations: 0 / 363.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.1045, allocations: 95.88 kB / 363.2 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007303/0.1052, allocations: 0.5248 MB / 363.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1054, allocations: 78.55 kB / 363.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.783e-05/0.1055, allocations: 28.84 kB / 363.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1055, allocations: 0 / 363.8 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1055, allocations: 34.56 kB / 363.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.1055, allocations: 0 / 363.8 MB, free: 8.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009347/0.1065, allocations: 0.5984 MB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1065, allocations: 59.28 kB / 364.5 MB, free: 7.465 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.1066, allocations: 134.2 kB / 364.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1066, allocations: 25.7 kB / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.786e-05/0.1067, allocations: 143.9 kB / 364.8 MB, free: 7.145 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.1068, allocations: 35.45 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.125e-05/0.1068, allocations: 37.62 kB / 364.9 MB, free: 7.066 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.1069, allocations: 322.8 kB / 365.2 MB, free: 6.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.107, allocations: 27.98 kB / 365.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1071, allocations: 93.19 kB / 365.3 MB, free: 6.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.1073, allocations: 134.7 kB / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1073, allocations: 0 / 365.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002575/0.1076, allocations: 157.4 kB / 365.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1076, allocations: 4 kB / 365.6 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1076, allocations: 4 kB / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1076, allocations: 0 / 365.6 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1078, allocations: 36.17 kB / 365.6 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.1078, allocations: 11.88 kB / 365.6 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.402e-05/0.1079, allocations: 7.984 kB / 365.7 MB, free: 6.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1079, allocations: 12 kB / 365.7 MB, free: 6.211 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.028e-05/0.108, allocations: 126.8 kB / 365.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1081, allocations: 7.906 kB / 365.8 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.1081, allocations: 16.72 kB / 365.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1081, allocations: 0 / 365.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1081, allocations: 3.938 kB / 365.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1081, allocations: 11.98 kB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.1086, allocations: 440 kB / 366.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1086, allocations: 0 / 366.3 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.1088, allocations: 27.92 kB / 366.3 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1088, allocations: 3.984 kB / 366.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1088, allocations: 4 kB / 366.3 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1088, allocations: 8.047 kB / 366.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1088, allocations: 4 kB / 366.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.1091, allocations: 260.5 kB / 366.6 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.1092, allocations: 85.05 kB / 366.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.1092, allocations: 3.984 kB / 366.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.1093, allocations: 8.062 kB / 366.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.1094, allocations: 11.98 kB / 366.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.1094, allocations: 4 kB / 366.7 MB, free: 5.098 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.336e-05/0.1094, allocations: 95.27 kB / 366.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1094, allocations: 0 / 366.8 MB, free: 5.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1097, allocations: 28 kB / 366.8 MB, free: 4.977 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 9.833e-05/0.1098, allocations: 95.25 kB / 366.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.11, allocations: 99.83 kB / 367 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.11, allocations: 0 / 367 MB, free: 4.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.1101, allocations: 39.86 kB / 367 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.1104, allocations: 15.94 kB / 367 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.1112, allocations: 432.1 kB / 367.5 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.1115, allocations: 0.7119 MB / 368.2 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.997e-05/0.1116, allocations: 16.88 kB / 368.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1116, allocations: 11.44 kB / 368.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1116, allocations: 0 / 368.2 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Templates: time 0.00357/0.1152, allocations: 0.8668 MB / 369.1 MB, free: 2.633 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 -s gbode -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