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.001088/0.001088, allocations: 100.5 kB / 17.85 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 209.7 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 246.9 MB, free: 9.023 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.69 kB / 306.9 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08845, allocations: 50.53 MB / 357.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003986/0.09247, allocations: 2.88 MB / 360.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.09433, allocations: 1.196 MB / 361.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.09454, allocations: 7.938 kB / 361.5 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.09593, allocations: 0.5916 MB / 362.1 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.09628, allocations: 119.3 kB / 362.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.09744, allocations: 0.6264 MB / 362.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003737/0.09782, allocations: 282.7 kB / 363.1 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.09826, allocations: 251.3 kB / 363.4 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.09847, allocations: 131.5 kB / 363.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.09868, allocations: 163.3 kB / 363.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.868e-05/0.09873, allocations: 24 kB / 363.7 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.09907, allocations: 183.8 kB / 363.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.087e-05/0.09913, allocations: 55.73 kB / 363.9 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.09926, allocations: 143.2 kB / 364.1 MB, free: 7.609 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.09967, allocations: 391.3 kB / 364.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09968, allocations: 0 / 364.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.09969, allocations: 4 kB / 364.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.0997, allocations: 0 / 364.5 MB, free: 7.223 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.001603/0.1013, allocations: 0.7216 MB / 365.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1014, allocations: 12.03 kB / 365.2 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.1022, allocations: 116.5 kB / 365.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1025, allocations: 256.5 kB / 365.6 MB, free: 6.035 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.1025, allocations: 25.03 kB / 365.6 MB, free: 6.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.1025, allocations: 32.38 kB / 365.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005136/0.1031, allocations: 341 kB / 365.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1031, allocations: 0 / 365.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.1031, allocations: 12 kB / 366 MB, free: 5.629 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-06/0.1031, allocations: 11.94 kB / 366 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.1035, allocations: 238.5 kB / 366.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1054, allocations: 1.451 MB / 367.7 MB, free: 3.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006153/0.106, allocations: 0.696 MB / 368.3 MB, free: 2.977 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1062, allocations: 104.8 kB / 368.5 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.1064, allocations: 170.1 kB / 368.6 MB, free: 2.668 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1064, allocations: 38.56 kB / 368.7 MB, free: 2.621 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/0.1064, allocations: 4 kB / 368.7 MB, free: 2.617 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001159/0.1076, allocations: 495.8 kB / 369.1 MB, free: 2.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1076, allocations: 55.41 kB / 369.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1078, allocations: 176 kB / 369.4 MB, free: 1.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1078, allocations: 33.69 kB / 369.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.1079, allocations: 176 kB / 369.6 MB, free: 1.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.853e-05/0.108, allocations: 86.73 kB / 369.7 MB, free: 1.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.1081, allocations: 53.98 kB / 369.7 MB, free: 1.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1082, allocations: 326.8 kB / 370 MB, free: 1.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1083, allocations: 68.53 kB / 370.1 MB, free: 1.094 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1085, allocations: 132.9 kB / 370.2 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.1087, allocations: 212.2 kB / 370.4 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1088, allocations: 4 kB / 370.4 MB, free: 0.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005328/0.1093, allocations: 332.4 kB / 370.8 MB, free: 384 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1093, allocations: 4 kB / 370.8 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1093, allocations: 7.938 kB / 370.8 MB, free: 372 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/0.1096, allocations: 84.89 kB / 370.9 MB, free: 284 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.1098, allocations: 39.98 kB / 370.9 MB, free: 244 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1385/0.2483, allocations: 1.825 MB / 372.7 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.2485, allocations: 31.41 kB / 372.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2485, allocations: 13.08 kB / 372.8 MB, free: 18.77 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.0001237/0.2486, allocations: 145.4 kB / 372.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.2487, allocations: 15.16 kB / 372.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.2493, allocations: 287.2 kB / 373.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2493, allocations: 3.75 kB / 373.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2493, allocations: 2.656 kB / 373.2 MB, free: 18.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2493, allocations: 5.203 kB / 373.2 MB, free: 18.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000876/0.2502, allocations: 0.6884 MB / 373.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2502, allocations: 1.703 kB / 373.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.2503, allocations: 26.75 kB / 373.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.2506, allocations: 76.53 kB / 374 MB, free: 18.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.2506, allocations: 5.312 kB / 374 MB, free: 18.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.252, allocations: 1.833 MB / 375.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.252, allocations: 0.6562 kB / 375.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006114/0.2526, allocations: 448.4 kB / 376.3 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.2527, allocations: 113.2 kB / 376.4 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.2527, allocations: 6.938 kB / 376.4 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2529, allocations: 5.156 kB / 376.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.2529, allocations: 30.12 kB / 376.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2529, allocations: 4.219 kB / 376.4 MB, free: 16.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.058e-05/0.253, allocations: 125.5 kB / 376.6 MB, free: 16.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.253, allocations: 0.8438 kB / 376.6 MB, free: 16.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004956/0.2535, allocations: 99.44 kB / 376.7 MB, free: 16.13 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.0002031/0.2537, allocations: 122.6 kB / 376.8 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005932/0.2543, allocations: 357.6 kB / 377.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2544, allocations: 0 / 377.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.2547, allocations: 247.9 kB / 377.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.2551, allocations: 24.94 kB / 377.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.256, allocations: 0.7034 MB / 378.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.2563, allocations: 0.7556 MB / 378.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.203e-05/0.2563, allocations: 19.47 kB / 378.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2563, allocations: 3.828 kB / 378.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.006308/0.2626, allocations: 4.002 MB / 382.9 MB, free: 14.08 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 -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