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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008523/0.0008524, allocations: 89.98 kB / 17.31 MB, free: 5.59 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.0009088/0.0009089, allocations: 179.5 kB / 18.21 MB, free: 5.191 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.15/1.15, allocations: 223.3 MB / 242.3 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002223, allocations: 7.938 kB / 302.1 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07207, allocations: 50.41 MB / 352.5 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002561/0.07467, allocations: 2.479 MB / 355 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.07626, allocations: 1.122 MB / 356.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.07643, allocations: 8 kB / 356.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.07678, allocations: 135.5 kB / 356.2 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.07711, allocations: 107.3 kB / 356.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.07823, allocations: 0.6521 MB / 357 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.07858, allocations: 286.6 kB / 357.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008851/0.07947, allocations: 0.5691 MB / 357.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.07964, allocations: 111.6 kB / 358 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001761/0.07983, allocations: 147.4 kB / 358.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.07986, allocations: 12 kB / 358.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.08016, allocations: 167.8 kB / 358.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.08021, allocations: 47.77 kB / 358.3 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.08034, allocations: 157 kB / 358.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.08071, allocations: 375.2 kB / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.08072, allocations: 0 / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.08073, allocations: 0 / 358.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.08074, allocations: 0 / 358.8 MB, free: 13.05 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001348/0.0821, allocations: 0.6748 MB / 359.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.08213, allocations: 8.031 kB / 359.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/0.08287, allocations: 128.4 kB / 359.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.08314, allocations: 252.6 kB / 359.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.08317, allocations: 21.03 kB / 359.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.08322, allocations: 36.28 kB / 360 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.0837, allocations: 336.9 kB / 360.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.08372, allocations: 4 kB / 360.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.08375, allocations: 12 kB / 360.3 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.08377, allocations: 12 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.08414, allocations: 242.5 kB / 360.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.08585, allocations: 1.447 MB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.08644, allocations: 0.7027 MB / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.08659, allocations: 104.8 kB / 362.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.84e-05/0.08669, allocations: 93.05 kB / 362.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.08671, allocations: 30.56 kB / 362.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.543e-06/0.08672, allocations: 0 / 362.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.00107/0.08779, allocations: 0.4916 MB / 363.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.08783, allocations: 59.34 kB / 363.5 MB, free: 7.996 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.08798, allocations: 176.2 kB / 363.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.08801, allocations: 25.7 kB / 363.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.0881, allocations: 180 kB / 363.8 MB, free: 7.594 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.08817, allocations: 82.75 kB / 363.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.08821, allocations: 29.7 kB / 364 MB, free: 7.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.08832, allocations: 330.8 kB / 364.3 MB, free: 7.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.08843, allocations: 72.53 kB / 364.3 MB, free: 7.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.08858, allocations: 133 kB / 364.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.08884, allocations: 224 kB / 364.7 MB, free: 6.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.08885, allocations: 0 / 364.7 MB, free: 6.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004997/0.08936, allocations: 328.7 kB / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.08938, allocations: 4 kB / 365 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.08939, allocations: 7.984 kB / 365 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002534/0.08965, allocations: 68.81 kB / 365.1 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.08979, allocations: 43.92 kB / 365.1 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001618/0.09142, allocations: 1.854 MB / 367 MB, free: 4.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.09156, allocations: 23.69 kB / 367 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.09158, allocations: 12 kB / 367 MB, free: 4.203 MB / 302.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.0001229/0.09171, allocations: 149.7 kB / 367.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.09175, allocations: 15.81 kB / 367.2 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.09225, allocations: 286.3 kB / 367.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.09226, allocations: 7.922 kB / 367.5 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.09227, allocations: 4 kB / 367.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.09228, allocations: 3.938 kB / 367.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008355/0.09312, allocations: 0.6861 MB / 368.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.09313, allocations: 0 / 368.2 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.09324, allocations: 20 kB / 368.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.09345, allocations: 76.8 kB / 368.3 MB, free: 2.887 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.09348, allocations: 8 kB / 368.3 MB, free: 2.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001536/0.09502, allocations: 1.831 MB / 370.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.09503, allocations: 0 / 370.1 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005668/0.0956, allocations: 451.5 kB / 370.5 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.09569, allocations: 120.8 kB / 370.7 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.09572, allocations: 4 kB / 370.7 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.09583, allocations: 4 kB / 370.7 MB, free: 316 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.09586, allocations: 15.98 kB / 370.7 MB, free: 300 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.09589, allocations: 15.92 kB / 370.7 MB, free: 284 kB / 302.1 MB Notification: Performance of sorting global known variables: time 8.562e-05/0.09598, allocations: 131.5 kB / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09598, allocations: 0 / 370.8 MB, free: 152 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004366/0.09643, allocations: 99.69 kB / 370.9 MB, free: 52 kB / 302.1 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.1223/0.2187, allocations: 122.4 kB / 371 MB, free: 24.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.2194, allocations: 355.3 kB / 371.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2194, allocations: 1.875 kB / 371.4 MB, free: 24.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.2197, allocations: 241.3 kB / 371.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.22, allocations: 18.8 kB / 371.6 MB, free: 24.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.2209, allocations: 0.765 MB / 372.4 MB, free: 23.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.2211, allocations: 0.7553 MB / 373.2 MB, free: 23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.2211, allocations: 19.8 kB / 373.2 MB, free: 23 MB / 302.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2211, allocations: 0 / 373.2 MB, free: 23 MB / 302.1 MB Notification: Performance of Templates: time 0.00559/0.2267, allocations: 3.942 MB / 377.1 MB, free: 22.68 MB / 302.1 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/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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches