Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001763/0.001763, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.002136/0.002136, allocations: 159.1 kB / 24.48 MB, free: 3.465 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.477/1.477, allocations: 173.4 MB / 201.1 MB, free: 12.6 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.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 42.48 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08841, allocations: 52.16 MB / 371.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006733/0.09514, allocations: 4.695 MB / 376.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002897/0.09804, allocations: 1.596 MB / 377.9 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002183/0.09825, allocations: 16 kB / 377.9 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.1014, allocations: 1.381 MB / 379.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000674/0.1021, allocations: 317.6 kB / 379.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.1036, allocations: 0.7667 MB / 380.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008713/0.1045, allocations: 0.8168 MB / 381.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009636/0.1055, allocations: 0.6714 MB / 381.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003771/0.1058, allocations: 358.7 kB / 382.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005229/0.1064, allocations: 414.1 kB / 382.6 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.951e-05/0.1065, allocations: 72 kB / 382.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004642/0.1069, allocations: 247.8 kB / 382.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.1071, allocations: 175.4 kB / 383.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.1074, allocations: 346.4 kB / 383.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.1087, allocations: 1.202 MB / 384.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1087, allocations: 4 kB / 384.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1087, allocations: 0 / 384.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1087, allocations: 0 / 384.6 MB, free: 10.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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003792/0.1125, allocations: 1.386 MB / 386 MB, free: 8.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1125, allocations: 12.92 kB / 386 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.1142, allocations: 256.2 kB / 386.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.1144, allocations: 197.5 kB / 386.5 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.1145, allocations: 78.31 kB / 386.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1146, allocations: 100.3 kB / 386.6 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.1161, allocations: 0.9386 MB / 387.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.1161, allocations: 8 kB / 387.6 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8e-05/0.1162, allocations: 40 kB / 387.6 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.482e-05/0.1162, allocations: 24 kB / 387.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.1176, allocations: 0.7808 MB / 388.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.1222, allocations: 2.666 MB / 391.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.124, allocations: 0.883 MB / 392 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.1245, allocations: 328.7 kB / 392.3 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.037e-05/0.1246, allocations: 24.98 kB / 392.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.1246, allocations: 39.56 kB / 392.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.355e-06/0.1246, allocations: 0 / 392.4 MB, free: 2.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.002067/0.1267, allocations: 0.9993 MB / 393.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.1267, allocations: 86.11 kB / 393.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003763/0.1271, allocations: 339.8 kB / 393.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.1272, allocations: 41.7 kB / 393.8 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.1275, allocations: 400.2 kB / 394.2 MB, free: 436 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.1277, allocations: 313.3 kB / 394.5 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.128, allocations: 178.9 kB / 394.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1282, allocations: 354.8 kB / 395 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.1287, allocations: 266.5 kB / 395.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007219/0.1294, allocations: 475.4 kB / 395.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.1307, allocations: 0.7667 MB / 396.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1307, allocations: 0 / 396.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001753/0.1324, allocations: 0.9802 MB / 397.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1324, allocations: 8 kB / 397.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1324, allocations: 4 kB / 397.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.1328, allocations: 128.1 kB / 397.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008096/0.1337, allocations: 207.7 kB / 397.8 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004697/0.1383, allocations: 5.617 MB / 403.5 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.1389, allocations: 95.3 kB / 403.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.139, allocations: 36 kB / 403.6 MB, free: 6.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * 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): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.1393, allocations: 233.8 kB / 403.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1394, allocations: 51.67 kB / 403.9 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.1409, allocations: 0.8355 MB / 404.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.1409, allocations: 8 kB / 404.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1409, allocations: 4 kB / 404.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.1409, allocations: 3.984 kB / 404.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.1436, allocations: 1.549 MB / 406.3 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.1436, allocations: 4 kB / 406.3 MB, free: 3.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.1442, allocations: 143.8 kB / 406.4 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.1445, allocations: 107.3 kB / 406.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.1445, allocations: 28.2 kB / 406.5 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.1488, allocations: 5.18 MB / 411.7 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.1488, allocations: 8.25 kB / 411.7 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.1506, allocations: 1.262 MB / 413 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1507, allocations: 67.5 kB / 413.1 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.782e-05/0.1508, allocations: 23.94 kB / 413.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.1512, allocations: 16 kB / 413.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.1513, allocations: 68.47 kB / 413.2 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.642e-05/0.1513, allocations: 28 kB / 413.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.1516, allocations: 219.1 kB / 413.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1516, allocations: 4.062 kB / 413.4 MB, free: 12.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009765/0.1526, allocations: 267.5 kB / 413.7 MB, free: 11.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (78): * Single equations (assignments): 74 * 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): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/0.1529, allocations: 151 kB / 413.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.1546, allocations: 1.129 MB / 414.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1546, allocations: 3.938 kB / 414.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.1555, allocations: 0.7654 MB / 415.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.1561, allocations: 60.7 kB / 415.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1586, allocations: 1.417 MB / 417.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.159, allocations: 322.2 kB / 417.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004081/0.1594, allocations: 100.9 kB / 417.6 MB, free: 7.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1595, allocations: 52.48 kB / 417.7 MB, free: 7.57 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1595, allocations: 4 kB / 417.7 MB, free: 7.566 MB / 382.1 MB Notification: Performance of Templates: time 0.01409/0.1736, allocations: 6.736 MB / 424.4 MB, free: 0.9219 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.555548409931362]