Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.001771/0.001771, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002058/0.002058, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.421/1.421, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 51.58 kB / 325.6 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08793, allocations: 53.34 MB / 378.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006508/0.09444, allocations: 4.696 MB / 383.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002812/0.09725, allocations: 1.662 MB / 385.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.09747, allocations: 16 kB / 385.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00321/0.1007, allocations: 1.377 MB / 386.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006536/0.1013, allocations: 321.6 kB / 387 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.1027, allocations: 0.6107 MB / 387.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008766/0.1035, allocations: 0.8092 MB / 388.4 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.1046, allocations: 0.6636 MB / 389.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.105, allocations: 362.7 kB / 389.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.1055, allocations: 406.1 kB / 389.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.1056, allocations: 72 kB / 389.9 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004805/0.1061, allocations: 247.8 kB / 390.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.1063, allocations: 179.3 kB / 390.3 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.1066, allocations: 346.4 kB / 390.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1079, allocations: 1.218 MB / 391.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1079, allocations: 4 kB / 391.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1079, allocations: 0 / 391.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1079, allocations: 0 / 391.9 MB, free: 2.797 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.004049/0.112, allocations: 1.394 MB / 393.3 MB, free: 1.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.112, allocations: 8.031 kB / 393.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001711/0.1137, allocations: 240.2 kB / 393.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.114, allocations: 217.9 kB / 393.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.114, allocations: 70.38 kB / 393.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.1142, allocations: 100.4 kB / 393.9 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.1157, allocations: 0.9463 MB / 394.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.1158, allocations: 7.953 kB / 394.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.572e-05/0.1159, allocations: 36 kB / 394.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.1159, allocations: 24 kB / 394.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1173, allocations: 0.7809 MB / 395.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004908/0.1222, allocations: 2.72 MB / 398.4 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.1241, allocations: 0.8791 MB / 399.3 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/0.1246, allocations: 337.1 kB / 399.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.1247, allocations: 32.97 kB / 399.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1248, allocations: 47.5 kB / 399.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.275e-06/0.1248, allocations: 0 / 399.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002162/0.1269, allocations: 0.9994 MB / 400.7 MB, free: 9.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.127, allocations: 90.11 kB / 400.8 MB, free: 9.648 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.1274, allocations: 339.8 kB / 401.1 MB, free: 9.309 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.1274, allocations: 37.7 kB / 401.1 MB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.1277, allocations: 400.1 kB / 401.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.1279, allocations: 309.3 kB / 401.8 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.1282, allocations: 174.9 kB / 402 MB, free: 8.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.1284, allocations: 362.8 kB / 402.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004772/0.1289, allocations: 266.5 kB / 402.6 MB, free: 7.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.1295, allocations: 479.4 kB / 403.1 MB, free: 7.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1308, allocations: 0.7706 MB / 403.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1308, allocations: 3.938 kB / 403.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001759/0.1325, allocations: 0.9807 MB / 404.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1326, allocations: 10.81 kB / 404.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1326, allocations: 4 kB / 404.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/0.1329, allocations: 127.6 kB / 405 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.1338, allocations: 203.8 kB / 405.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/0.1385, allocations: 5.609 MB / 410.8 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.139, allocations: 103.2 kB / 410.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.1391, allocations: 43.98 kB / 410.9 MB, free: 14.86 MB / 382.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.0003167/0.1394, allocations: 232.7 kB / 411.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1395, allocations: 51.84 kB / 411.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.1411, allocations: 0.8432 MB / 412 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1411, allocations: 8 kB / 412.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1411, allocations: 4 kB / 412.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.1411, allocations: 3.984 kB / 412.1 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/0.1439, allocations: 1.573 MB / 413.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1439, allocations: 0 / 413.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/0.1445, allocations: 143.7 kB / 413.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002912/0.1448, allocations: 111.6 kB / 413.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.1449, allocations: 23.98 kB / 413.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004234/0.1491, allocations: 5.189 MB / 419.1 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1491, allocations: 3.938 kB / 419.1 MB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.1511, allocations: 1.281 MB / 420.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.1512, allocations: 59.52 kB / 420.4 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.1513, allocations: 23.94 kB / 420.5 MB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.1516, allocations: 16 kB / 420.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.1518, allocations: 72.66 kB / 420.5 MB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.1518, allocations: 28 kB / 420.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.152, allocations: 223.1 kB / 420.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.152, allocations: 0 / 420.8 MB, free: 4.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009313/0.153, allocations: 275.3 kB / 421.1 MB, free: 4.137 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.0002661/0.1532, allocations: 155 kB / 421.2 MB, free: 3.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.1549, allocations: 1.137 MB / 422.4 MB, free: 2.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1549, allocations: 4 kB / 422.4 MB, free: 2.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009278/0.1558, allocations: 0.7698 MB / 423.1 MB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.1564, allocations: 44.66 kB / 423.2 MB, free: 1.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1588, allocations: 1.387 MB / 424.6 MB, free: 484 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.1592, allocations: 314.3 kB / 424.9 MB, free: 140 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004073/0.1596, allocations: 108.9 kB / 425 MB, free: 28 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.1597, allocations: 56.55 kB / 425 MB, free: 15.96 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1597, allocations: 0 / 425 MB, free: 15.96 MB / 398.1 MB Notification: Performance of Templates: time 0.01428/0.174, allocations: 6.962 MB / 432 MB, free: 9.094 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.5966365749482065]