Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.001488/0.001488, allocations: 109 kB / 20.45 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.001649/0.001649, allocations: 214.8 kB / 23.75 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.261/1.261, allocations: 207.6 MB / 234.5 MB, free: 10 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.2142/0.2142, allocations: 44.24 MB / 331 MB, free: 9.516 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.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape") [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.002057/0.002057, allocations: 78.7 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.1013, allocations: 61.03 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003516/0.1048, allocations: 2.424 MB / 0.5197 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.106, allocations: 0.8265 MB / 0.5205 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1061, allocations: 7.938 kB / 0.5205 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.1063, allocations: 55.56 kB / 0.5206 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1065, allocations: 99.25 kB / 0.5207 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.1068, allocations: 99.81 kB / 0.5208 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003417/0.1071, allocations: 350.8 kB / 0.5211 GB, free: 2.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.1073, allocations: 64.84 kB / 0.5212 GB, free: 2.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1075, allocations: 147.5 kB / 0.5213 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.1076, allocations: 147.4 kB / 0.5215 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.1077, allocations: 28 kB / 0.5215 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.1077, allocations: 28 kB / 0.5215 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.1078, allocations: 67.75 kB / 0.5216 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.1079, allocations: 155.2 kB / 0.5217 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003582/0.1083, allocations: 362.5 kB / 0.5221 GB, free: 1.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1083, allocations: 4 kB / 0.5221 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1083, allocations: 0 / 0.5221 GB, free: 1.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1083, allocations: 0 / 0.5221 GB, free: 1.977 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001011/0.1093, allocations: 0.5402 MB / 0.5226 GB, free: 1.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.1093, allocations: 8.031 kB / 0.5226 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.603e-05/0.1094, allocations: 32.75 kB / 0.5226 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.1097, allocations: 206 kB / 0.5228 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.1098, allocations: 24.75 kB / 0.5229 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/0.1098, allocations: 24.38 kB / 0.5229 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000484/0.1103, allocations: 248.4 kB / 0.5231 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1103, allocations: 0 / 0.5231 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.1103, allocations: 8 kB / 0.5231 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1103, allocations: 8 kB / 0.5231 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1108, allocations: 229.9 kB / 0.5234 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1122, allocations: 0.8275 MB / 0.5242 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.1127, allocations: 290.5 kB / 0.5244 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.113, allocations: 132.8 kB / 0.5246 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.113, allocations: 0 / 0.5246 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.113, allocations: 38.56 kB / 0.5246 GB, free: 15.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=31): time 1.132e-06/0.113, allocations: 0 / 0.5246 GB, free: 15.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=31): time 0.004304/0.1173, allocations: 0.9605 MB / 0.5255 GB, free: 14.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.1174, allocations: 55.41 kB / 0.5256 GB, free: 14.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002266/0.1176, allocations: 217.5 kB / 0.5258 GB, free: 13.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1176, allocations: 29.7 kB / 0.5258 GB, free: 13.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.1177, allocations: 164.7 kB / 0.526 GB, free: 13.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.005e-05/0.1178, allocations: 107.1 kB / 0.5261 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.793e-05/0.1179, allocations: 65.55 kB / 0.5262 GB, free: 13.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1181, allocations: 330.8 kB / 0.5265 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.1183, allocations: 95.95 kB / 0.5266 GB, free: 13.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.1185, allocations: 121.8 kB / 0.5267 GB, free: 13.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.1189, allocations: 231.3 kB / 0.5269 GB, free: 12.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1189, allocations: 0 / 0.5269 GB, free: 12.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00171/0.1207, allocations: 0.5403 MB / 0.5274 GB, free: 12.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1207, allocations: 4 kB / 0.5274 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.1207, allocations: 0 / 0.5274 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/0.1223, allocations: 311.1 kB / 0.5277 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.1225, allocations: 23.92 kB / 0.5277 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007483/0.13, allocations: 6.423 MB / 0.534 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1302, allocations: 35.83 kB / 0.5341 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.1302, allocations: 12 kB / 0.5341 GB, free: 4.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.1304, allocations: 137.8 kB / 0.5342 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.1304, allocations: 27.86 kB / 0.5342 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.1321, allocations: 0.5384 MB / 0.5347 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.1322, allocations: 7.984 kB / 0.5348 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.1322, allocations: 3.938 kB / 0.5348 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1322, allocations: 4 kB / 0.5348 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.1326, allocations: 324.4 kB / 0.5351 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.1326, allocations: 0 / 0.5351 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1327, allocations: 23.98 kB / 0.5351 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.1342, allocations: 315.1 kB / 0.5354 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.1342, allocations: 7.938 kB / 0.5354 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2062/0.3404, allocations: 6.477 MB / 0.5417 GB, free: 25.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3404, allocations: 0 / 0.5417 GB, free: 25.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3421, allocations: 0.621 MB / 0.5423 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.3421, allocations: 23.47 kB / 0.5424 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.3421, allocations: 6.141 kB / 0.5424 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001756/0.3423, allocations: 13.89 kB / 0.5424 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3424, allocations: 43.41 kB / 0.5424 GB, free: 25.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3425, allocations: 6.188 kB / 0.5424 GB, free: 25.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3426, allocations: 160.2 kB / 0.5426 GB, free: 25.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3426, allocations: 0 / 0.5426 GB, free: 25.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000477/0.3431, allocations: 119.7 kB / 0.5427 GB, free: 25.39 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 (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 8.67e-05/0.3431, allocations: 103 kB / 0.5428 GB, free: 25.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008757/0.344, allocations: 0.7341 MB / 0.5435 GB, free: 24.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.344, allocations: 4.969 kB / 0.5435 GB, free: 24.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.345, allocations: 0.727 MB / 0.5442 GB, free: 24.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3453, allocations: 22.31 kB / 0.5442 GB, free: 24.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.3462, allocations: 0.5738 MB / 0.5448 GB, free: 24.08 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001828/0.3464, allocations: 0.7716 MB / 0.5456 GB, free: 23.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.3464, allocations: 12.47 kB / 0.5456 GB, free: 23.38 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3464, allocations: 1.5 kB / 0.5456 GB, free: 23.38 MB / 414.1 MB Notification: Performance of Templates: time 0.01091/0.3573, allocations: 8.016 MB / 0.5534 GB, free: 22.86 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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: 7.6016022600233555]