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.0008996/0.0008996, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001014/0.001014, allocations: 173.9 kB / 24.92 MB, free: 9.18 MB / 18.57 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 0.9278/0.9278, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 1.262e-06/1.262e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184e-05/1.31e-05, allocations: 2.312 kB / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004065/0.004078, allocations: 5.077 MB / 278.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.005826, allocations: 1.762 MB / 280.3 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.005983, allocations: 16 kB / 280.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.007464, allocations: 1.512 MB / 281.8 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.007909, allocations: 337.4 kB / 282.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008006/0.00871, allocations: 0.6228 MB / 282.8 MB, free: 7.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005374/0.009247, allocations: 0.836 MB / 283.6 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006467/0.009894, allocations: 0.7046 MB / 284.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.01028, allocations: 0.5183 MB / 284.8 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.01057, allocations: 363 kB / 285.2 MB, free: 5.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.01064, allocations: 76 kB / 285.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.01097, allocations: 251.6 kB / 285.5 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.903e-05/0.01106, allocations: 183.3 kB / 285.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001725/0.01123, allocations: 287.3 kB / 286 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.01185, allocations: 0.8096 MB / 286.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.01185, allocations: 0 / 286.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01185, allocations: 0 / 286.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.01186, allocations: 3.938 kB / 286.8 MB, free: 3.871 MB / 266.7 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.001975/0.01383, allocations: 1.439 MB / 288.2 MB, free: 2.406 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.01386, allocations: 12.03 kB / 288.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.01481, allocations: 436.1 kB / 288.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.01492, allocations: 197.4 kB / 288.8 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.01496, allocations: 74.38 kB / 288.9 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.358e-05/0.01504, allocations: 108.3 kB / 289 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.01559, allocations: 0.6534 MB / 289.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.01561, allocations: 12.12 kB / 289.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.01566, allocations: 40.38 kB / 289.7 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.01567, allocations: 27.94 kB / 289.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003307/0.01601, allocations: 286.2 kB / 290 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1024/0.1184, allocations: 2.199 MB / 292.2 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008027/0.1192, allocations: 0.6567 MB / 292.9 MB, free: 18.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.1194, allocations: 180 kB / 293.1 MB, free: 18.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/0.1195, allocations: 39.88 kB / 293.1 MB, free: 18.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.1195, allocations: 42.78 kB / 293.1 MB, free: 18.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.375e-06/0.1195, allocations: 1.531 kB / 293.1 MB, free: 18.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=87): time 0.0008243/0.1204, allocations: 0.5623 MB / 293.7 MB, free: 18.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.1204, allocations: 87.23 kB / 293.8 MB, free: 18.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1206, allocations: 301.5 kB / 294.1 MB, free: 18.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1206, allocations: 42.23 kB / 294.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1207, allocations: 387.4 kB / 294.5 MB, free: 18.24 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.1208, allocations: 313.1 kB / 294.8 MB, free: 18.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.121, allocations: 178.5 kB / 295 MB, free: 18.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.788e-05/0.121, allocations: 359.3 kB / 295.3 MB, free: 17.74 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1212, allocations: 103.1 kB / 295.4 MB, free: 17.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.1214, allocations: 319.7 kB / 295.8 MB, free: 17.53 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.1218, allocations: 0.4914 MB / 296.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.1218, allocations: 1.438 kB / 296.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.0006329/0.1225, allocations: 0.5701 MB / 296.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1225, allocations: 10.03 kB / 296.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1225, allocations: 7.875 kB / 296.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.1228, allocations: 137.3 kB / 297 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.1232, allocations: 209.6 kB / 297.2 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.1246, allocations: 5.105 MB / 302.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.1249, allocations: 99.12 kB / 302.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.125, allocations: 29.16 kB / 302.4 MB, free: 12.36 MB / 266.7 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.0001328/0.1251, allocations: 176 kB / 302.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.1252, allocations: 57.59 kB / 302.6 MB, free: 12.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005417/0.1257, allocations: 0.5033 MB / 303.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1257, allocations: 17.91 kB / 303.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.1257, allocations: 3.828 kB / 303.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1257, allocations: 3.656 kB / 303.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.1269, allocations: 0.9676 MB / 304.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1269, allocations: 3.984 kB / 304.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.1271, allocations: 141.3 kB / 304.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.1274, allocations: 134.6 kB / 304.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.1274, allocations: 18.12 kB / 304.4 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.1285, allocations: 4.741 MB / 309.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1285, allocations: 6.719 kB / 309.2 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.1292, allocations: 0.7557 MB / 309.9 MB, free: 6.887 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.1292, allocations: 60 kB / 310 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.1293, allocations: 17.94 kB / 310 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1294, allocations: 18.44 kB / 310 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.1295, allocations: 70.52 kB / 310.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1295, allocations: 22.08 kB / 310.1 MB, free: 6.859 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.169e-05/0.1296, allocations: 99.5 kB / 310.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1296, allocations: 0 / 310.2 MB, free: 6.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006062/0.1302, allocations: 275.7 kB / 310.5 MB, free: 6.816 MB / 266.7 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.0001664/0.1304, allocations: 146.4 kB / 310.6 MB, free: 6.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006391/0.131, allocations: 0.8932 MB / 311.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.131, allocations: 6.281 kB / 311.5 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.1313, allocations: 0.675 MB / 312.2 MB, free: 5.809 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.1316, allocations: 57.28 kB / 312.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.133, allocations: 1.258 MB / 313.5 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.1331, allocations: 154.5 kB / 313.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002287/0.1333, allocations: 102.5 kB / 313.8 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1334, allocations: 135 kB / 313.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1334, allocations: 4 kB / 313.9 MB, free: 4.977 MB / 266.7 MB Notification: Performance of Templates: time 0.009179/0.1426, allocations: 7.754 MB / 321.6 MB, free: 164 kB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7606655838899314]