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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 120.8 kB / 18.46 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 190.9 kB / 21.4 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.8 MB, free: 3.449 MB / 190.1 MB " [Timeout remaining time 178] 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=1000,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=1000,variableFilter="time|mass.s|mass.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 51.91 kB / 366.8 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 52.14 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.003495/0.1054, allocations: 2.002 MB / 420.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.1063, allocations: 0.5026 MB / 421.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1064, allocations: 4 kB / 421.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1066, allocations: 23.72 kB / 421.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.743e-05/0.1066, allocations: 31.72 kB / 421.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.1069, allocations: 47.88 kB / 421.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1071, allocations: 147.4 kB / 421.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1072, allocations: 61.52 kB / 421.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1074, allocations: 51.86 kB / 421.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1075, allocations: 75.67 kB / 421.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.896e-05/0.1075, allocations: 12 kB / 421.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.228e-05/0.1076, allocations: 16 kB / 421.9 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.1076, allocations: 31.86 kB / 421.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.325e-05/0.1077, allocations: 67.67 kB / 422 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.108, allocations: 167.3 kB / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.108, allocations: 0 / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.108, allocations: 0 / 422.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.108, allocations: 4 kB / 422.2 MB, free: 8.84 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.00071/0.1087, allocations: 454.8 kB / 422.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1087, allocations: 8.031 kB / 422.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1088, allocations: 16.84 kB / 422.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.1091, allocations: 196.2 kB / 422.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1091, allocations: 12.38 kB / 422.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.1092, allocations: 20.33 kB / 422.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.1095, allocations: 154 kB / 423 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1095, allocations: 0 / 423 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1095, allocations: 4 kB / 423 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1095, allocations: 4 kB / 423 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1098, allocations: 95.83 kB / 423.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.1106, allocations: 0.5328 MB / 423.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1108, allocations: 74.5 kB / 423.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.442e-05/0.1108, allocations: 28.84 kB / 423.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1108, allocations: 0 / 423.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1109, allocations: 30.56 kB / 423.8 MB, free: 7.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.1109, allocations: 4 kB / 423.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001113/0.112, allocations: 0.5987 MB / 424.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.112, allocations: 55.34 kB / 424.4 MB, free: 6.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.1122, allocations: 132 kB / 424.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1122, allocations: 29.7 kB / 424.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.1123, allocations: 140.1 kB / 424.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1123, allocations: 43.62 kB / 424.8 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.788e-05/0.1124, allocations: 37.66 kB / 424.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1125, allocations: 322.8 kB / 425.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.1126, allocations: 27.98 kB / 425.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.1128, allocations: 90.8 kB / 425.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.113, allocations: 135.7 kB / 425.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.113, allocations: 3.938 kB / 425.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002844/0.1133, allocations: 157.4 kB / 425.5 MB, free: 5.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1133, allocations: 8 kB / 425.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1133, allocations: 0 / 425.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1133, allocations: 4.188 kB / 425.5 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1135, allocations: 35.98 kB / 425.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1135, allocations: 7.938 kB / 425.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.868e-05/0.1135, allocations: 15.92 kB / 425.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1136, allocations: 4 kB / 425.6 MB, free: 5.043 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.0001179/0.1137, allocations: 126.4 kB / 425.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.1137, allocations: 7.953 kB / 425.7 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.1137, allocations: 16.38 kB / 425.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1137, allocations: 0 / 425.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1138, allocations: 7.938 kB / 425.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1138, allocations: 3.984 kB / 425.8 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00059/0.1143, allocations: 436 kB / 426.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.1144, allocations: 11.98 kB / 426.2 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1145, allocations: 23.94 kB / 426.2 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1145, allocations: 3.984 kB / 426.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1145, allocations: 0 / 426.2 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1145, allocations: 8.062 kB / 426.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1145, allocations: 0 / 426.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.1149, allocations: 253 kB / 426.5 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.722e-05/0.115, allocations: 89.08 kB / 426.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.115, allocations: 0 / 426.6 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.1151, allocations: 8.062 kB / 426.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.1151, allocations: 11.98 kB / 426.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1151, allocations: 0 / 426.6 MB, free: 3.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.856e-05/0.1152, allocations: 98.12 kB / 426.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1152, allocations: 0 / 426.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002744/0.1155, allocations: 31.94 kB / 426.7 MB, free: 3.82 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.0001614/0.1156, allocations: 103.7 kB / 426.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1159, allocations: 91.83 kB / 426.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1159, allocations: 0 / 426.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.213e-05/0.116, allocations: 35.92 kB / 426.9 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1163, allocations: 18.28 kB / 426.9 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008917/0.1172, allocations: 465.1 kB / 427.4 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.1176, allocations: 0.7157 MB / 428.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.1176, allocations: 11.44 kB / 428.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1176, allocations: 4 kB / 428.1 MB, free: 2.316 MB / 350.1 MB Notification: Performance of Templates: time 0.003406/0.121, allocations: 1.478 MB / 429.6 MB, free: 0.8398 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.659998048096895]