Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 93.94 kB / 291.2 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007501/0.0007501, allocations: 39.94 kB / 350.1 MB, free: 68 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2709, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004905/0.2759, allocations: 2.864 MB / 402.4 MB, free: 30.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2781, allocations: 1.144 MB / 403.5 MB, free: 29.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.2783, allocations: 11.94 kB / 403.5 MB, free: 29.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.28, allocations: 0.5799 MB / 404.1 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.2804, allocations: 103.3 kB / 404.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.282, allocations: 0.6641 MB / 404.9 MB, free: 28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.2824, allocations: 290.6 kB / 405.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.283, allocations: 239.4 kB / 405.4 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000183/0.2832, allocations: 131.5 kB / 405.5 MB, free: 27.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.2834, allocations: 163.3 kB / 405.7 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.2835, allocations: 20 kB / 405.7 MB, free: 27.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.2839, allocations: 163.9 kB / 405.8 MB, free: 27.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.284, allocations: 63.7 kB / 405.9 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.2841, allocations: 139.3 kB / 406 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.2847, allocations: 496 kB / 406.5 MB, free: 26.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2848, allocations: 0 / 406.5 MB, free: 26.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2848, allocations: 4 kB / 406.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.2848, allocations: 0 / 406.5 MB, free: 26.32 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.002205/0.287, allocations: 0.7178 MB / 407.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2871, allocations: 12.03 kB / 407.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.2884, allocations: 120.5 kB / 407.4 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.2888, allocations: 261.3 kB / 407.6 MB, free: 25.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.2888, allocations: 28.97 kB / 407.7 MB, free: 25.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.716e-05/0.2889, allocations: 28.38 kB / 407.7 MB, free: 25.08 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006743/0.2896, allocations: 340.9 kB / 408 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.2896, allocations: 0 / 408 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.2896, allocations: 16 kB / 408 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.2897, allocations: 8 kB / 408 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.2902, allocations: 234.5 kB / 408.3 MB, free: 24.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.2926, allocations: 1.459 MB / 409.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.2933, allocations: 0.6897 MB / 410.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.2936, allocations: 108.5 kB / 410.5 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.272e-05/0.2937, allocations: 85.05 kB / 410.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.2937, allocations: 42.5 kB / 410.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.826e-06/0.2937, allocations: 3.984 kB / 410.6 MB, free: 21.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.001649/0.2954, allocations: 492.8 kB / 411.1 MB, free: 21.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.2954, allocations: 55.41 kB / 411.2 MB, free: 21.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.2956, allocations: 176.9 kB / 411.4 MB, free: 21.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2956, allocations: 29.7 kB / 411.4 MB, free: 21.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.2957, allocations: 179.9 kB / 411.6 MB, free: 20.83 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.2958, allocations: 82.83 kB / 411.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2959, allocations: 57.89 kB / 411.7 MB, free: 20.69 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.507e-05/0.296, allocations: 326.8 kB / 412 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.2962, allocations: 76.47 kB / 412.1 MB, free: 20.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.2964, allocations: 137 kB / 412.2 MB, free: 20.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.2968, allocations: 216 kB / 412.4 MB, free: 19.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2968, allocations: 0 / 412.4 MB, free: 19.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007611/0.2976, allocations: 324.5 kB / 412.8 MB, free: 19.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2976, allocations: 8.219 kB / 412.8 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.2976, allocations: 4 kB / 412.8 MB, free: 19.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004094/0.2981, allocations: 80.69 kB / 412.8 MB, free: 19.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.2983, allocations: 39.92 kB / 412.9 MB, free: 19.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3006, allocations: 1.839 MB / 414.7 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.3009, allocations: 27.69 kB / 414.8 MB, free: 17.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3009, allocations: 12.06 kB / 414.8 MB, free: 17.43 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.0001698/0.3011, allocations: 145.8 kB / 414.9 MB, free: 17.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.3012, allocations: 15.81 kB / 414.9 MB, free: 17.26 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007523/0.3019, allocations: 286.9 kB / 415.2 MB, free: 16.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.302, allocations: 7.938 kB / 415.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.302, allocations: 0 / 415.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.302, allocations: 0 / 415.2 MB, free: 16.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.3032, allocations: 0.6978 MB / 415.9 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3033, allocations: 0 / 415.9 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3035, allocations: 31.92 kB / 415.9 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.3038, allocations: 69.09 kB / 416 MB, free: 16.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.3038, allocations: 4 kB / 416 MB, free: 16.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.3059, allocations: 1.831 MB / 417.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3059, allocations: 0 / 417.8 MB, free: 14.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.3075, allocations: 1.375 MB / 419.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.3076, allocations: 117 kB / 419.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3076, allocations: 8 kB / 419.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.3078, allocations: 0 / 419.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.3079, allocations: 19.97 kB / 419.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.3079, allocations: 4 kB / 419.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3081, allocations: 131.5 kB / 419.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3081, allocations: 0 / 419.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009289/0.309, allocations: 103.7 kB / 419.6 MB, free: 12.23 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.0002245/0.3092, allocations: 135.2 kB / 419.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000752/0.31, allocations: 354.5 kB / 420.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.31, allocations: 0 / 420.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.3105, allocations: 250.4 kB / 420.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.311, allocations: 23.92 kB / 420.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.3124, allocations: 0.8572 MB / 421.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.3127, allocations: 0.7674 MB / 422 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.3129, allocations: 26.2 kB / 422 MB, free: 9.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.981e-05/0.3129, allocations: 15.44 kB / 422 MB, free: 9.723 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3129, allocations: 8 kB / 422 MB, free: 9.715 MB / 298.7 MB Notification: Performance of Templates: time 0.00841/0.3214, allocations: 2.62 MB / 424.6 MB, free: 7.105 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches