Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000963/0.0009628, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007402/0.0007403, allocations: 102.6 kB / 299.8 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002128/0.0002128, allocations: 8 kB / 360.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2094, allocations: 51.41 MB / 412.1 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002195/0.2116, allocations: 2.4 MB / 414.5 MB, free: 23.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.2131, allocations: 2.037 MB / 416.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.2133, allocations: 8 kB / 416.5 MB, free: 21.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.2136, allocations: 127.5 kB / 416.6 MB, free: 21.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.2139, allocations: 119.3 kB / 416.8 MB, free: 20.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.2149, allocations: 1.297 MB / 418.1 MB, free: 19.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.2152, allocations: 282.6 kB / 418.3 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.2161, allocations: 0.9427 MB / 419.3 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.2162, allocations: 115.5 kB / 419.4 MB, free: 18.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2164, allocations: 147.4 kB / 419.5 MB, free: 17.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.2164, allocations: 12 kB / 419.5 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.2167, allocations: 163.8 kB / 419.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.2167, allocations: 47.78 kB / 419.7 MB, free: 17.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.102e-05/0.2168, allocations: 161 kB / 419.9 MB, free: 17.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003693/0.2172, allocations: 487.9 kB / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2172, allocations: 0 / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2172, allocations: 0 / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.2172, allocations: 0 / 420.4 MB, free: 17.06 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001242/0.2185, allocations: 0.6709 MB / 421.1 MB, free: 16.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.2185, allocations: 12.03 kB / 421.1 MB, free: 16.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007016/0.2192, allocations: 120.5 kB / 421.2 MB, free: 16.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2195, allocations: 256.6 kB / 421.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.2195, allocations: 25.03 kB / 421.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.2195, allocations: 36.38 kB / 421.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.22, allocations: 325 kB / 421.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.22, allocations: 11.89 kB / 421.8 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.22, allocations: 8 kB / 421.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.22, allocations: 8 kB / 421.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.2203, allocations: 242.5 kB / 422.1 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.2218, allocations: 1.443 MB / 423.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.2222, allocations: 0.7033 MB / 424.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.2224, allocations: 100.8 kB / 424.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.2225, allocations: 178.1 kB / 424.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.2225, allocations: 34.56 kB / 424.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.2225, allocations: 4 kB / 424.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001002/0.2235, allocations: 0.4937 MB / 425 MB, free: 11.99 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.2236, allocations: 55.41 kB / 425.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.2237, allocations: 172.2 kB / 425.2 MB, free: 11.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.2237, allocations: 33.7 kB / 425.3 MB, free: 11.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.2238, allocations: 175.9 kB / 425.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.2238, allocations: 86.8 kB / 425.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2238, allocations: 4 kB / 425.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.2239, allocations: 322.8 kB / 425.9 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.312e-05/0.224, allocations: 72.53 kB / 425.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.2241, allocations: 128.2 kB / 426 MB, free: 10.89 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.2243, allocations: 212.1 kB / 426.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.2243, allocations: 0 / 426.3 MB, free: 10.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004432/0.2248, allocations: 330.5 kB / 426.6 MB, free: 10.33 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2248, allocations: 9.25 kB / 426.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2248, allocations: 0 / 426.6 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/0.2251, allocations: 72.81 kB / 426.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.2252, allocations: 43.92 kB / 426.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.2266, allocations: 1.839 MB / 428.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.2268, allocations: 23.78 kB / 428.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.2268, allocations: 8 kB / 428.6 MB, free: 8.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.2269, allocations: 154.4 kB / 428.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.2269, allocations: 15.81 kB / 428.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.2274, allocations: 284 kB / 429 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2274, allocations: 7.938 kB / 429 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2274, allocations: 4 kB / 429 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2274, allocations: 0 / 429 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007145/0.2281, allocations: 0.6961 MB / 429.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2282, allocations: 0 / 429.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.2283, allocations: 27.92 kB / 429.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002033/0.2285, allocations: 76.75 kB / 429.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.2285, allocations: 0 / 429.8 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.2297, allocations: 1.839 MB / 431.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2297, allocations: 0 / 431.7 MB, free: 4.895 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.2303, allocations: 442.2 kB / 432.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.2303, allocations: 116.9 kB / 432.2 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2304, allocations: 7.938 kB / 432.2 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2305, allocations: 4 kB / 432.2 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.2305, allocations: 23.91 kB / 432.2 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.2305, allocations: 8 kB / 432.3 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.841e-05/0.2306, allocations: 125.6 kB / 432.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2306, allocations: 0 / 432.4 MB, free: 4.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004071/0.231, allocations: 99.69 kB / 432.5 MB, free: 4.051 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001806/0.2312, allocations: 131.3 kB / 432.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.2317, allocations: 354.3 kB / 432.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2317, allocations: 0 / 432.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.232, allocations: 250.4 kB / 433.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.2323, allocations: 16 kB / 433.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007753/0.2331, allocations: 0.7455 MB / 434 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.2332, allocations: 0.7519 MB / 434.7 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.2333, allocations: 17.95 kB / 434.7 MB, free: 1.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.2334, allocations: 23.44 kB / 434.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2334, allocations: 0 / 434.7 MB, free: 1.691 MB / 298.7 MB Notification: Performance of Templates: time 0.00528/0.2387, allocations: 2.531 MB / 437.3 MB, free: 15.16 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches