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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.8 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 45.25 kB / 300.6 MB, free: 6.324 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 49.45 MB / 350.1 MB, free: 4.863 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006882/0.1277, allocations: 5.219 MB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003588/0.1313, allocations: 1.67 MB / 357 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005704/0.1319, allocations: 20 kB / 357 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.1352, allocations: 1.334 MB / 358.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.1364, allocations: 266.3 kB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.1383, allocations: 0.7864 MB / 359.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1396, allocations: 0.774 MB / 360.1 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.1408, allocations: 0.7033 MB / 360.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.1413, allocations: 338.7 kB / 361.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.1419, allocations: 458.1 kB / 361.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.142, allocations: 56 kB / 361.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.1427, allocations: 239.8 kB / 361.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1428, allocations: 167.2 kB / 362.1 MB, free: 8.805 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.1432, allocations: 402 kB / 362.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.1442, allocations: 0.9311 MB / 363.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1443, allocations: 0 / 363.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1443, allocations: 0 / 363.4 MB, free: 7.477 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1443, allocations: 4 kB / 363.4 MB, free: 7.473 MB / 302.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.004373/0.1487, allocations: 1.443 MB / 364.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.1487, allocations: 8.031 kB / 364.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.1505, allocations: 251.7 kB / 365.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1508, allocations: 259.2 kB / 365.3 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.1509, allocations: 74.38 kB / 365.4 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.1511, allocations: 100.3 kB / 365.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1528, allocations: 0.9463 MB / 366.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.1528, allocations: 4 kB / 366.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.1529, allocations: 40 kB / 366.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.153, allocations: 28 kB / 366.5 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1543, allocations: 0.777 MB / 367.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.216/0.3703, allocations: 3.389 MB / 370.7 MB, free: 24.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.3729, allocations: 1.256 MB / 372 MB, free: 24.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006219/0.3735, allocations: 374.5 kB / 372.3 MB, free: 24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.3737, allocations: 100 kB / 372.4 MB, free: 23.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.3737, allocations: 44.73 kB / 372.5 MB, free: 23.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 4.889e-06/0.3737, allocations: 0.625 kB / 372.5 MB, free: 23.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002451/0.3762, allocations: 1.303 MB / 373.8 MB, free: 23.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3762, allocations: 92.23 kB / 373.9 MB, free: 23.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00052/0.3768, allocations: 368.5 kB / 374.2 MB, free: 23.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.3768, allocations: 37.23 kB / 374.3 MB, free: 22.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.377, allocations: 389.3 kB / 374.6 MB, free: 22.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.3773, allocations: 296.9 kB / 374.9 MB, free: 22.47 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.3776, allocations: 170.2 kB / 375.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3777, allocations: 358.9 kB / 375.4 MB, free: 22.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/0.3781, allocations: 267 kB / 375.7 MB, free: 21.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.3787, allocations: 474 kB / 376.2 MB, free: 21.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3798, allocations: 0.771 MB / 376.9 MB, free: 21.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3798, allocations: 2.75 kB / 376.9 MB, free: 21.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001682/0.3815, allocations: 0.9786 MB / 377.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.3815, allocations: 7.375 kB / 377.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3815, allocations: 7.047 kB / 377.9 MB, free: 20.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004457/0.382, allocations: 121.3 kB / 378.1 MB, free: 20.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/0.3828, allocations: 208.2 kB / 378.3 MB, free: 20.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.3861, allocations: 5.569 MB / 383.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.3868, allocations: 104.7 kB / 383.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/0.3869, allocations: 40.06 kB / 384 MB, free: 14.97 MB / 302.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.0003395/0.3872, allocations: 236.9 kB / 384.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3873, allocations: 50.39 kB / 384.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.3888, allocations: 0.8556 MB / 385.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3888, allocations: 9.781 kB / 385.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3888, allocations: 5.375 kB / 385.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.3889, allocations: 3.828 kB / 385.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003751/0.3926, allocations: 1.934 MB / 387.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.3926, allocations: 6.25 kB / 387.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.3936, allocations: 134.6 kB / 387.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004711/0.3941, allocations: 114.8 kB / 387.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.96e-05/0.3941, allocations: 17.5 kB / 387.3 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003044/0.3972, allocations: 5.302 MB / 392.6 MB, free: 7.695 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.3972, allocations: 7.297 kB / 392.6 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001939/0.3992, allocations: 1.272 MB / 393.9 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3993, allocations: 143.2 kB / 394 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.3994, allocations: 18.23 kB / 394.1 MB, free: 6.781 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.3998, allocations: 22.11 kB / 394.1 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001442/0.4, allocations: 66.59 kB / 394.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.4, allocations: 23.97 kB / 394.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.4004, allocations: 260.4 kB / 394.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4004, allocations: 0 / 394.4 MB, free: 6.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001205/0.4016, allocations: 259.2 kB / 394.7 MB, free: 6.539 MB / 302.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.0003185/0.4019, allocations: 152.1 kB / 394.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.4037, allocations: 1.173 MB / 396 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4037, allocations: 1.656 kB / 396 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008951/0.4046, allocations: 0.7983 MB / 396.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.4053, allocations: 58.89 kB / 396.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.4083, allocations: 1.791 MB / 398.6 MB, free: 3.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005955/0.4089, allocations: 0.9169 MB / 399.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.4091, allocations: 64.86 kB / 399.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of SimCode: time 8.82e-07/0.4091, allocations: 0 / 399.6 MB, free: 3.184 MB / 302.1 MB Notification: Performance of Templates: time 0.02187/0.431, allocations: 20.92 MB / 420.5 MB, free: 2.293 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (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 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) 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) Reference file matches