Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 221.4 kB / 23.76 MB, free: 4.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2033/0.2033, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") translateModel(ModelicaTest.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 75.91 kB / 468.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1039, allocations: 61.04 MB / 0.5174 GB, free: 6.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sensors): time 0.002977/0.1069, allocations: 1.906 MB / 0.5192 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009333/0.1078, allocations: 0.6201 MB / 0.5198 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.1079, allocations: 0 / 0.5198 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1081, allocations: 31.72 kB / 0.5199 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1082, allocations: 43.64 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1083, allocations: 35.95 kB / 0.5199 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1085, allocations: 151.5 kB / 0.5201 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1086, allocations: 53.59 kB / 0.5201 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.1088, allocations: 63.72 kB / 0.5202 GB, free: 3.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.704e-05/0.1089, allocations: 59.77 kB / 0.5202 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.1089, allocations: 15.98 kB / 0.5203 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.331e-05/0.1089, allocations: 16 kB / 0.5203 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.1089, allocations: 31.86 kB / 0.5203 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.109, allocations: 71.66 kB / 0.5204 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001931/0.1092, allocations: 155.3 kB / 0.5205 GB, free: 3.578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1092, allocations: 4 kB / 0.5205 GB, free: 3.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1092, allocations: 0 / 0.5205 GB, free: 3.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1092, allocations: 4 kB / 0.5205 GB, free: 3.57 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005735/0.1098, allocations: 362 kB / 0.5209 GB, free: 3.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1098, allocations: 8.031 kB / 0.5209 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1099, allocations: 16.84 kB / 0.5209 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1101, allocations: 146.3 kB / 0.521 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1101, allocations: 8.656 kB / 0.521 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1101, allocations: 12.38 kB / 0.5211 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.1104, allocations: 144.2 kB / 0.5212 GB, free: 2.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1104, allocations: 3.938 kB / 0.5212 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1104, allocations: 4 kB / 0.5212 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.1104, allocations: 4 kB / 0.5212 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.1107, allocations: 108.1 kB / 0.5213 GB, free: 2.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.1116, allocations: 0.5705 MB / 0.5219 GB, free: 2.082 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.1119, allocations: 66.62 kB / 0.5219 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.239e-05/0.112, allocations: 24.97 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.112, allocations: 4 kB / 0.522 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.112, allocations: 34.56 kB / 0.522 GB, free: 1.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.825e-06/0.112, allocations: 3.984 kB / 0.522 GB, free: 1.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003631/0.1124, allocations: 113.5 kB / 0.5221 GB, free: 1.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1124, allocations: 55.34 kB / 0.5222 GB, free: 1.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1125, allocations: 153.7 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.1126, allocations: 25.7 kB / 0.5223 GB, free: 1.555 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.1126, allocations: 143.7 kB / 0.5225 GB, free: 1.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1127, allocations: 15.84 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1127, allocations: 29.66 kB / 0.5225 GB, free: 1.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1128, allocations: 318.8 kB / 0.5228 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1129, allocations: 31.97 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1131, allocations: 64.27 kB / 0.5229 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.1133, allocations: 92.17 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1133, allocations: 7.938 kB / 0.523 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002634/0.1135, allocations: 125.5 kB / 0.5231 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1135, allocations: 4 kB / 0.5231 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1135, allocations: 4 kB / 0.5231 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1136, allocations: 3.984 kB / 0.5231 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.1137, allocations: 31.86 kB / 0.5232 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.1137, allocations: 4 kB / 0.5232 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.758e-05/0.1138, allocations: 16.31 kB / 0.5232 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1138, allocations: 4 kB / 0.5232 GB, free: 0.6211 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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 prepare postOptimizeDAE: time 9.421e-05/0.1139, allocations: 125.8 kB / 0.5233 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1139, allocations: 11.95 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.1139, allocations: 8.406 kB / 0.5233 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1139, allocations: 3.938 kB / 0.5233 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1139, allocations: 0 / 0.5233 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1139, allocations: 4 kB / 0.5233 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1142, allocations: 184.7 kB / 0.5235 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1142, allocations: 0 / 0.5235 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.1142, allocations: 15.98 kB / 0.5235 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1142, allocations: 0 / 0.5235 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1142, allocations: 7.875 kB / 0.5235 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1142, allocations: 3.938 kB / 0.5235 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1142, allocations: 0 / 0.5235 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.1145, allocations: 187.5 kB / 0.5237 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.1145, allocations: 11.94 kB / 0.5237 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.1145, allocations: 0 / 0.5237 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1146, allocations: 11.98 kB / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1147, allocations: 7.938 kB / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.1147, allocations: 0 / 0.5237 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.52e-05/0.1148, allocations: 104 kB / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1148, allocations: 0 / 0.5238 GB, free: 15.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.115, allocations: 31.89 kB / 0.5239 GB, free: 15.85 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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 8.181e-05/0.1151, allocations: 99.23 kB / 0.524 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.1153, allocations: 67.89 kB / 0.524 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1153, allocations: 3.938 kB / 0.524 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.1154, allocations: 23.98 kB / 0.5241 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002415/0.1157, allocations: 12.23 kB / 0.5241 GB, free: 15.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005509/0.1162, allocations: 297.8 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1165, allocations: 0.7041 MB / 0.525 GB, free: 14.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.1166, allocations: 11.44 kB / 0.525 GB, free: 14.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1166, allocations: 7.938 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Templates: time 0.002754/0.1193, allocations: 1.261 MB / 0.5263 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sensors/Sensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.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.413080400088802]