Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.GeneralLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|leakageWithCoefficient.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 106.2 kB / 18.4 MB, free: 4.676 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.001236/0.001236, allocations: 185.5 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 51.94 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06842/0.0696, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003404/0.07302, allocations: 2.711 MB / 378.5 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.07478, allocations: 1.2 MB / 379.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.07496, allocations: 4 kB / 379.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.07639, allocations: 0.6145 MB / 380.4 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1433/0.2197, allocations: 130.1 kB / 380.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.221, allocations: 0.6711 MB / 381.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.2214, allocations: 290.6 kB / 381.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.2218, allocations: 282.4 kB / 381.7 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.222, allocations: 128.6 kB / 381.8 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.2223, allocations: 163.5 kB / 382 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.2223, allocations: 26.12 kB / 382 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.2227, allocations: 179.8 kB / 382.2 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.2228, allocations: 60.36 kB / 382.3 MB, free: 9.641 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001585/0.2229, allocations: 147.1 kB / 382.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006399/0.2236, allocations: 0.4935 MB / 382.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2236, allocations: 0 / 382.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2236, allocations: 0.5312 kB / 382.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.2236, allocations: 3.469 kB / 382.9 MB, free: 9.543 MB / 318.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.001692/0.2253, allocations: 0.7095 MB / 383.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2254, allocations: 9.25 kB / 383.6 MB, free: 9.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008796/0.2262, allocations: 125 kB / 383.7 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.2266, allocations: 252.7 kB / 384 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2266, allocations: 27.09 kB / 384 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.2267, allocations: 37.02 kB / 384.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005233/0.2272, allocations: 336.4 kB / 384.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.2272, allocations: 5.781 kB / 384.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.2273, allocations: 19.59 kB / 384.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2273, allocations: 8.281 kB / 384.4 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.2277, allocations: 239.6 kB / 384.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/0.2295, allocations: 1.437 MB / 386.1 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007163/0.2303, allocations: 0.6978 MB / 386.8 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2304, allocations: 105.2 kB / 386.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.695e-05/0.2305, allocations: 85.22 kB / 387 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2305, allocations: 39.69 kB / 387 MB, free: 6.941 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.264e-06/0.2306, allocations: 2.531 kB / 387 MB, free: 6.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.001734/0.2323, allocations: 0.4887 MB / 387.5 MB, free: 6.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.535e-05/0.2323, allocations: 54.84 kB / 387.6 MB, free: 6.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2325, allocations: 172.5 kB / 387.7 MB, free: 6.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.2325, allocations: 34.86 kB / 387.8 MB, free: 6.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.2326, allocations: 175.3 kB / 387.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.2326, allocations: 85.47 kB / 388 MB, free: 6.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.2327, allocations: 53.47 kB / 388.1 MB, free: 6.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.2328, allocations: 328 kB / 388.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.233, allocations: 65.09 kB / 388.4 MB, free: 5.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.2332, allocations: 134 kB / 388.6 MB, free: 5.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.2337, allocations: 214.4 kB / 388.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2337, allocations: 0 / 388.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008032/0.2345, allocations: 333.3 kB / 389.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2345, allocations: 10.31 kB / 389.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2346, allocations: 1.156 kB / 389.1 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/0.235, allocations: 76.28 kB / 389.2 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.2352, allocations: 44.78 kB / 389.2 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2376, allocations: 2.039 MB / 391.3 MB, free: 3.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.2378, allocations: 30.53 kB / 391.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2379, allocations: 13.58 kB / 391.3 MB, free: 3.625 MB / 318.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.0001536/0.238, allocations: 143.1 kB / 391.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.2381, allocations: 16.64 kB / 391.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007786/0.2389, allocations: 291.8 kB / 391.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2389, allocations: 1.266 kB / 391.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.239, allocations: 1.375 kB / 391.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2391, allocations: 109.4 kB / 391.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.2391, allocations: 7.156 kB / 391.9 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.2393, allocations: 5.094 kB / 391.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.2394, allocations: 19.41 kB / 391.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009966/0.2404, allocations: 352.3 kB / 392.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000651/0.2411, allocations: 451.5 kB / 392.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001792/0.2413, allocations: 68.95 kB / 392.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.2414, allocations: 124.3 kB / 392.9 MB, free: 2.594 MB / 318.1 MB Notification: Performance of Backend: time 6.01e-07/0.2414, allocations: 0 / 392.9 MB, free: 2.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.2428, allocations: 454.9 kB / 393.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of SimCode: time 0.001256/0.2441, allocations: 1.029 MB / 394.4 MB, free: 1.477 MB / 318.1 MB Notification: Performance of Templates: time 0.01253/0.2566, allocations: 3.852 MB / 398.2 MB, free: 1.117 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches