Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.001274, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001104, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2079, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003779/0.2117, allocations: 2.829 MB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.2133, allocations: 1.203 MB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2135, allocations: 8 kB / 414 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001388/0.2149, allocations: 0.6224 MB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.2151, allocations: 135 kB / 414.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.2163, allocations: 0.661 MB / 415.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.2166, allocations: 294.6 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.2171, allocations: 266.6 kB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.2173, allocations: 147.5 kB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2175, allocations: 163.3 kB / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.919e-05/0.2175, allocations: 24 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.2178, allocations: 187.8 kB / 416.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.578e-05/0.2179, allocations: 63.77 kB / 416.5 MB, free: 11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.218, allocations: 143.2 kB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005331/0.2186, allocations: 0.4959 MB / 417.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2186, allocations: 0 / 417.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2186, allocations: 0 / 417.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2186, allocations: 0 / 417.2 MB, free: 10.36 MB / 334.1 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.001523/0.2201, allocations: 0.7294 MB / 417.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.2202, allocations: 8.031 kB / 417.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008351/0.221, allocations: 112.5 kB / 418 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.2213, allocations: 264.5 kB / 418.3 MB, free: 9.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.913e-05/0.2214, allocations: 29.03 kB / 418.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.917e-05/0.2214, allocations: 28.38 kB / 418.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.2219, allocations: 337 kB / 418.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.2219, allocations: 0 / 418.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.222, allocations: 12 kB / 418.7 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.222, allocations: 8 kB / 418.7 MB, free: 8.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.2224, allocations: 250.5 kB / 418.9 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.2242, allocations: 1.435 MB / 420.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.2248, allocations: 0.7 MB / 421.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.225, allocations: 112.8 kB / 421.2 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001551/0.2251, allocations: 174.1 kB / 421.3 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2252, allocations: 46.44 kB / 421.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.593e-06/0.2252, allocations: 0 / 421.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001162/0.2264, allocations: 487.4 kB / 421.9 MB, free: 5.242 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.2264, allocations: 59.39 kB / 421.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2265, allocations: 171.3 kB / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2266, allocations: 29.7 kB / 422.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.2267, allocations: 176 kB / 422.3 MB, free: 4.777 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.2267, allocations: 78.75 kB / 422.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.747e-05/0.2268, allocations: 57.89 kB / 422.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2269, allocations: 326.8 kB / 422.7 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.2271, allocations: 76.47 kB / 422.8 MB, free: 4.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.2272, allocations: 137 kB / 422.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002751/0.2275, allocations: 216.9 kB / 423.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2275, allocations: 0 / 423.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005603/0.2281, allocations: 335.8 kB / 423.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2281, allocations: 4 kB / 423.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2281, allocations: 4 kB / 423.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.2284, allocations: 72.75 kB / 423.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2286, allocations: 43.92 kB / 423.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.2305, allocations: 2.029 MB / 425.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.2306, allocations: 27.72 kB / 425.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2306, allocations: 11.98 kB / 425.7 MB, free: 1.172 MB / 334.1 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.0001212/0.2308, allocations: 145.8 kB / 425.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.2308, allocations: 19.75 kB / 425.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005338/0.2314, allocations: 277.7 kB / 426.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2314, allocations: 11.97 kB / 426.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2314, allocations: 0 / 426.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.2315, allocations: 108.8 kB / 426.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.2315, allocations: 4 kB / 426.2 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2316, allocations: 12 kB / 426.2 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.2317, allocations: 31.75 kB / 426.3 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006486/0.2323, allocations: 348.4 kB / 426.6 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000447/0.2328, allocations: 442.2 kB / 427 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001029/0.2329, allocations: 65.39 kB / 427.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.233, allocations: 123.2 kB / 427.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.233, allocations: 0 / 427.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008913/0.2339, allocations: 459 kB / 427.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009623/0.2349, allocations: 1.03 MB / 428.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Templates: time 0.00726/0.2422, allocations: 4.002 MB / 432.7 MB, free: 10.02 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches