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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 75.28 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001372/0.001372, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 177.1 MB / 204.7 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 60.66 kB / 325.5 MB, free: 208 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1044, allocations: 53.39 MB / 378.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003566/0.1079, allocations: 1.942 MB / 380.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.109, allocations: 0.5415 MB / 381.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1091, allocations: 4 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.1093, allocations: 19.73 kB / 381.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.004e-05/0.1094, allocations: 27.72 kB / 381.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1096, allocations: 59.86 kB / 381.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1099, allocations: 151.4 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.11, allocations: 53.77 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.1102, allocations: 63.8 kB / 381.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.1103, allocations: 67.67 kB / 381.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.1103, allocations: 12 kB / 381.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.01e-05/0.1104, allocations: 16 kB / 381.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.407e-05/0.1104, allocations: 31.86 kB / 381.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.125e-05/0.1105, allocations: 59.73 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1108, allocations: 179.2 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1108, allocations: 4 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1108, allocations: 0 / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1108, allocations: 0 / 382.1 MB, free: 12.27 MB / 350.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.0006494/0.1114, allocations: 365.7 kB / 382.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1115, allocations: 11.98 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1116, allocations: 24.83 kB / 382.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1119, allocations: 150.3 kB / 382.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1119, allocations: 16.38 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.112, allocations: 16.38 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.1123, allocations: 150 kB / 382.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1123, allocations: 11.83 kB / 382.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.1123, allocations: 8 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.1123, allocations: 4 kB / 382.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.1125, allocations: 87.94 kB / 382.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007714/0.1133, allocations: 419.8 kB / 383.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.1135, allocations: 70.5 kB / 383.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.993e-05/0.1136, allocations: 32.84 kB / 383.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.1136, allocations: 3.984 kB / 383.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1136, allocations: 30.56 kB / 383.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.233e-06/0.1136, allocations: 4 kB / 383.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009977/0.1146, allocations: 454.9 kB / 383.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1147, allocations: 55.41 kB / 384 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.1148, allocations: 149.2 kB / 384.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1148, allocations: 29.64 kB / 384.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.1149, allocations: 136.2 kB / 384.3 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.445e-05/0.1149, allocations: 39.69 kB / 384.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.115, allocations: 34.73 kB / 384.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1151, allocations: 318.8 kB / 384.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.1152, allocations: 39.92 kB / 384.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1153, allocations: 82.86 kB / 384.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1155, allocations: 138.7 kB / 384.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1155, allocations: 0 / 384.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002747/0.1158, allocations: 153.5 kB / 385.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1158, allocations: 8 kB / 385.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1158, allocations: 0 / 385.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1158, allocations: 4 kB / 385.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.116, allocations: 43.91 kB / 385.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.116, allocations: 4 kB / 385.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.1161, allocations: 7.938 kB / 385.2 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.1161, allocations: 4 kB / 385.2 MB, free: 8.957 MB / 350.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.0001134/0.1162, allocations: 133.7 kB / 385.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.179e-05/0.1163, allocations: 16.05 kB / 385.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.218e-05/0.1163, allocations: 20.77 kB / 385.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1163, allocations: 0 / 385.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1163, allocations: 0 / 385.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1163, allocations: 3.938 kB / 385.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.1168, allocations: 367.7 kB / 385.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1168, allocations: 0 / 385.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.1169, allocations: 23.98 kB / 385.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.117, allocations: 3.938 kB / 385.7 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.117, allocations: 8.062 kB / 385.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.117, allocations: 0 / 385.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.117, allocations: 3.938 kB / 385.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.1173, allocations: 257.1 kB / 386 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.533e-05/0.1173, allocations: 7.984 kB / 386 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.1174, allocations: 4.125 kB / 386 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.1174, allocations: 8 kB / 386 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.1175, allocations: 11.92 kB / 386 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.1175, allocations: 0 / 386 MB, free: 8.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.485e-05/0.1176, allocations: 111.3 kB / 386.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1176, allocations: 0 / 386.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.1178, allocations: 27.94 kB / 386.1 MB, free: 7.895 MB / 350.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.0001053/0.1179, allocations: 95.25 kB / 386.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1182, allocations: 79.84 kB / 386.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1182, allocations: 8 kB / 386.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.1183, allocations: 40.41 kB / 386.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1186, allocations: 19.09 kB / 386.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.1193, allocations: 424.2 kB / 386.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.1194, allocations: 101.5 kB / 386.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.796e-05/0.1195, allocations: 12.97 kB / 386.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.1195, allocations: 16.5 kB / 386.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1195, allocations: 0 / 386.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of Templates: time 0.003687/0.1232, allocations: 0.8163 MB / 387.7 MB, free: 6.246 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (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 ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Sensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.114693237002939]