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.00129/0.00129, allocations: 111.1 kB / 18.45 MB, free: 4.566 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.001345/0.001345, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.2 MB / 206.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.001512/0.001512, allocations: 47.92 kB / 374.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 53.34 MB / 427.5 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.007336/0.1134, allocations: 5.281 MB / 432.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003516/0.1169, allocations: 1.752 MB / 434.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/0.1172, allocations: 20 kB / 434.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003271/0.1205, allocations: 1.418 MB / 436 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000915/0.1214, allocations: 329.6 kB / 436.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.1228, allocations: 0.6384 MB / 436.9 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1239, allocations: 0.8091 MB / 437.7 MB, free: 10 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.1249, allocations: 0.5856 MB / 438.3 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.1254, allocations: 358.7 kB / 438.7 MB, free: 9.047 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005886/0.126, allocations: 470.1 kB / 439.1 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1261, allocations: 72 kB / 439.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.1267, allocations: 267.8 kB / 439.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1269, allocations: 175.4 kB / 439.6 MB, free: 8.082 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.1273, allocations: 429.9 kB / 440.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1288, allocations: 1.195 MB / 441.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1288, allocations: 0 / 441.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1288, allocations: 0 / 441.3 MB, free: 6.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.1288, allocations: 3.938 kB / 441.3 MB, free: 6.457 MB / 366.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.004251/0.133, allocations: 1.469 MB / 442.7 MB, free: 4.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1331, allocations: 12.03 kB / 442.7 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001679/0.1348, allocations: 240.2 kB / 443 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.1351, allocations: 271.2 kB / 443.2 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.102e-05/0.1352, allocations: 70.38 kB / 443.3 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.1354, allocations: 104.4 kB / 443.4 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.1371, allocations: 0.9502 MB / 444.4 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.1371, allocations: 7.891 kB / 444.4 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.725e-05/0.1372, allocations: 40 kB / 444.4 MB, free: 3.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.1372, allocations: 24 kB / 444.4 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.1386, allocations: 0.7848 MB / 445.2 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2032/0.3418, allocations: 3.613 MB / 448.8 MB, free: 22.55 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.3435, allocations: 1.177 MB / 450 MB, free: 22.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00047/0.3439, allocations: 328.5 kB / 450.3 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.3441, allocations: 193.3 kB / 450.5 MB, free: 21.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.3441, allocations: 39.91 kB / 450.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.895e-06/0.3441, allocations: 0 / 450.6 MB, free: 21.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=87): time 0.002122/0.3462, allocations: 1.32 MB / 451.9 MB, free: 21.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.3463, allocations: 93.89 kB / 452 MB, free: 21.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004259/0.3467, allocations: 365.4 kB / 452.3 MB, free: 21.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.3467, allocations: 40.8 kB / 452.4 MB, free: 21.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.3469, allocations: 386.7 kB / 452.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.347, allocations: 315.2 kB / 453 MB, free: 20.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.3473, allocations: 181.2 kB / 453.2 MB, free: 20.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.3474, allocations: 362 kB / 453.6 MB, free: 20.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.3478, allocations: 263.7 kB / 453.8 MB, free: 20.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/0.3484, allocations: 478.8 kB / 454.3 MB, free: 19.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009884/0.3494, allocations: 0.7749 MB / 455.1 MB, free: 19.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3494, allocations: 2.219 kB / 455.1 MB, free: 19.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001692/0.3511, allocations: 0.9797 MB / 456.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3511, allocations: 7.219 kB / 456.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.3511, allocations: 11.02 kB / 456.1 MB, free: 18.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.3515, allocations: 121.2 kB / 456.2 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.3523, allocations: 212.1 kB / 456.4 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.3555, allocations: 6.118 MB / 462.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.3562, allocations: 103.1 kB / 462.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/0.3562, allocations: 41.48 kB / 462.7 MB, free: 12.61 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.0003151/0.3565, allocations: 232.8 kB / 462.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3567, allocations: 53.42 kB / 462.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3582, allocations: 0.8492 MB / 463.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.3582, allocations: 8.719 kB / 463.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.3582, allocations: 7.625 kB / 463.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3582, allocations: 3.938 kB / 463.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.361, allocations: 2.103 MB / 465.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.361, allocations: 2.531 kB / 465.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.3616, allocations: 145.6 kB / 466.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002734/0.3618, allocations: 103.6 kB / 466.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.3619, allocations: 24.25 kB / 466.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.3645, allocations: 5.711 MB / 471.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.3645, allocations: 2.875 kB / 471.9 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3663, allocations: 1.285 MB / 473.2 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.3664, allocations: 146.6 kB / 473.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.3665, allocations: 20.09 kB / 473.3 MB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.3669, allocations: 25.09 kB / 473.4 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.367, allocations: 63.72 kB / 473.4 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.738e-05/0.367, allocations: 25.02 kB / 473.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.3673, allocations: 261 kB / 473.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3673, allocations: 0 / 473.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001162/0.3685, allocations: 265.4 kB / 474 MB, free: 3.598 MB / 366.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.0002861/0.3688, allocations: 159.9 kB / 474.1 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.3704, allocations: 1.137 MB / 475.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3704, allocations: 1.438 kB / 475.3 MB, free: 2.781 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007516/0.3712, allocations: 0.7631 MB / 476 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.3717, allocations: 63.83 kB / 476.1 MB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.3741, allocations: 1.415 MB / 477.5 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.3745, allocations: 0.9151 MB / 478.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.3747, allocations: 66.03 kB / 478.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3747, allocations: 1.312 kB / 478.5 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of Templates: time 0.02671/0.4015, allocations: 21.48 MB / 500 MB, free: 5.309 MB / 382.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 -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: 8.873538110987283]