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.001518/0.001518, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001915/0.001915, allocations: 199.5 kB / 19.36 MB, free: 3.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 59.47 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/0.08731, allocations: 50.54 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003958/0.0913, allocations: 2.836 MB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.09302, allocations: 1.199 MB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.09314, allocations: 8 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.09451, allocations: 0.6145 MB / 363.6 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.09478, allocations: 147 kB / 363.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.09595, allocations: 0.6454 MB / 364.4 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.09635, allocations: 310.5 kB / 364.7 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000438/0.0968, allocations: 270.7 kB / 364.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.097, allocations: 135.5 kB / 365.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.09722, allocations: 167.4 kB / 365.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.09726, allocations: 24 kB / 365.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003196/0.09759, allocations: 187.8 kB / 365.4 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.651e-05/0.09764, allocations: 59.83 kB / 365.5 MB, free: 6.727 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.09778, allocations: 147.3 kB / 365.6 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005197/0.09831, allocations: 0.5023 MB / 366.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.09832, allocations: 4 kB / 366.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09833, allocations: 0 / 366.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.09834, allocations: 0 / 366.2 MB, free: 6.074 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.001519/0.09986, allocations: 0.7177 MB / 366.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.0999, allocations: 8.031 kB / 366.9 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008153/0.1007, allocations: 124.5 kB / 367 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1011, allocations: 264 kB / 367.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1011, allocations: 29.03 kB / 367.3 MB, free: 4.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.605e-05/0.1012, allocations: 32.36 kB / 367.3 MB, free: 4.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005086/0.1017, allocations: 333 kB / 367.6 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.1017, allocations: 7.938 kB / 367.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.1017, allocations: 12 kB / 367.7 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.1018, allocations: 8 kB / 367.7 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.1022, allocations: 242.5 kB / 367.9 MB, free: 4.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.104, allocations: 1.432 MB / 369.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.1046, allocations: 0.6956 MB / 370 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.1048, allocations: 108.8 kB / 370.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.105, allocations: 170.1 kB / 370.3 MB, free: 1.527 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.105, allocations: 38.56 kB / 370.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.105, allocations: 0 / 370.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001211/0.1062, allocations: 495.2 kB / 370.8 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1063, allocations: 55.41 kB / 370.9 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1065, allocations: 184.8 kB / 371.1 MB, free: 0.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.1065, allocations: 29.7 kB / 371.1 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.1066, allocations: 180 kB / 371.3 MB, free: 500 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.202e-05/0.1066, allocations: 78.75 kB / 371.3 MB, free: 420 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.89e-05/0.1067, allocations: 57.98 kB / 371.4 MB, free: 356 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1068, allocations: 326.8 kB / 371.7 MB, free: 20 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1378/0.2446, allocations: 64.56 kB / 371.8 MB, free: 20.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.2448, allocations: 128.7 kB / 371.9 MB, free: 20.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.2451, allocations: 218.5 kB / 372.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2451, allocations: 0 / 372.1 MB, free: 20.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005737/0.2457, allocations: 324.8 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.2457, allocations: 5.531 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2457, allocations: 3.156 kB / 372.4 MB, free: 20.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.246, allocations: 81.95 kB / 372.5 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.2462, allocations: 36.78 kB / 372.6 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.2477, allocations: 2.036 MB / 374.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.2479, allocations: 26.39 kB / 374.6 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.2479, allocations: 14.44 kB / 374.6 MB, free: 18.75 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.0001108/0.248, allocations: 148.3 kB / 374.8 MB, free: 18.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.2481, allocations: 16.78 kB / 374.8 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000543/0.2486, allocations: 288.5 kB / 375.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2486, allocations: 6.531 kB / 375.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.2487, allocations: 1.906 kB / 375.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2487, allocations: 1.219 kB / 375.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008268/0.2495, allocations: 0.6879 MB / 375.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.2495, allocations: 1.031 kB / 375.8 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2496, allocations: 27.77 kB / 375.8 MB, free: 17.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.2499, allocations: 77 kB / 375.9 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2499, allocations: 9.344 kB / 375.9 MB, free: 17.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.2513, allocations: 2.026 MB / 377.9 MB, free: 16.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2513, allocations: 3.938 kB / 377.9 MB, free: 16.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005346/0.2519, allocations: 452.5 kB / 378.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.252, allocations: 107.1 kB / 378.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.252, allocations: 5.625 kB / 378.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2521, allocations: 5.5 kB / 378.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.2522, allocations: 20.69 kB / 378.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2522, allocations: 8.312 kB / 378.5 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.2523, allocations: 130.7 kB / 378.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2523, allocations: 0 / 378.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004541/0.2527, allocations: 96.42 kB / 378.7 MB, free: 15.64 MB / 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.0001669/0.2529, allocations: 121.3 kB / 378.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000503/0.2534, allocations: 356.8 kB / 379.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2534, allocations: 0 / 379.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.2537, allocations: 247.8 kB / 379.4 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.254, allocations: 18.72 kB / 379.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008003/0.2548, allocations: 0.5568 MB / 380 MB, free: 14.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.255, allocations: 0.7556 MB / 380.8 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.2551, allocations: 22.78 kB / 380.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.2551, allocations: 20.42 kB / 380.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2551, allocations: 0 / 380.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Templates: time 0.005873/0.261, allocations: 2.66 MB / 383.5 MB, free: 13.91 MB / 302.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 -s gbode -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