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.001725/0.001725, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002107/0.002107, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.64 kB / 307.6 MB, free: 0.6172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08701/0.08828, allocations: 50.53 MB / 358.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004136/0.09246, allocations: 2.843 MB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.09428, allocations: 1.207 MB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.09443, allocations: 12 kB / 362.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.09589, allocations: 0.6067 MB / 362.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.09624, allocations: 139 kB / 363 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.09748, allocations: 0.6597 MB / 363.6 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004278/0.09792, allocations: 294.7 kB / 363.9 MB, free: 8.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004984/0.09843, allocations: 279 kB / 364.2 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.09867, allocations: 131.5 kB / 364.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.09892, allocations: 167.3 kB / 364.5 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.918e-05/0.09898, allocations: 28 kB / 364.5 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.09939, allocations: 183.8 kB / 364.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.09946, allocations: 63.77 kB / 364.7 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.09963, allocations: 151.2 kB / 364.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.1003, allocations: 498.5 kB / 365.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1003, allocations: 4 kB / 365.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1003, allocations: 0 / 365.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1003, allocations: 0 / 365.4 MB, free: 6.844 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.00164/0.102, allocations: 0.7255 MB / 366.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.102, allocations: 8.031 kB / 366.1 MB, free: 6.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.1028, allocations: 124.5 kB / 366.2 MB, free: 5.938 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.1031, allocations: 264.5 kB / 366.5 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.1032, allocations: 25.03 kB / 366.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/0.1032, allocations: 28.38 kB / 366.5 MB, free: 5.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.1038, allocations: 336.9 kB / 366.9 MB, free: 5.254 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.1038, allocations: 8 kB / 366.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1038, allocations: 12 kB / 366.9 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1038, allocations: 8 kB / 366.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.1042, allocations: 238.5 kB / 367.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00195/0.1062, allocations: 1.443 MB / 368.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.1069, allocations: 0.6999 MB / 369.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.107, allocations: 108.8 kB / 369.4 MB, free: 2.48 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/0.1072, allocations: 174.1 kB / 369.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1072, allocations: 30.56 kB / 369.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.883e-06/0.1073, allocations: 0 / 369.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001217/0.1085, allocations: 498.3 kB / 370.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1085, allocations: 59.41 kB / 370.1 MB, free: 1.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1087, allocations: 176.9 kB / 370.3 MB, free: 1.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1087, allocations: 33.69 kB / 370.3 MB, free: 1.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.066e-05/0.1088, allocations: 168 kB / 370.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1089, allocations: 86.75 kB / 370.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.109, allocations: 61.91 kB / 370.6 MB, free: 1.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1091, allocations: 326.8 kB / 371 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.1092, allocations: 64.53 kB / 371 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.1093, allocations: 133 kB / 371.2 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.1096, allocations: 212.1 kB / 371.4 MB, free: 336 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1096, allocations: 4 kB / 371.4 MB, free: 332 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.1838/0.2934, allocations: 329.6 kB / 371.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.2935, allocations: 7.938 kB / 371.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2935, allocations: 2.25 kB / 371.7 MB, free: 19.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003946/0.2939, allocations: 77.08 kB / 371.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2941, allocations: 42.56 kB / 371.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.2958, allocations: 2.031 MB / 373.8 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.296, allocations: 27.64 kB / 373.9 MB, free: 18.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.296, allocations: 12.59 kB / 373.9 MB, free: 18.48 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.0001322/0.2961, allocations: 144.5 kB / 374 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/0.2962, allocations: 25.83 kB / 374.1 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005558/0.2968, allocations: 287.7 kB / 374.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2968, allocations: 2.188 kB / 374.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2968, allocations: 2.438 kB / 374.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2968, allocations: 1.578 kB / 374.3 MB, free: 18.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000891/0.2977, allocations: 0.6892 MB / 375 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.2977, allocations: 1.719 kB / 375 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2978, allocations: 26.16 kB / 375.1 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002308/0.2981, allocations: 72.31 kB / 375.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2981, allocations: 9.75 kB / 375.1 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.2996, allocations: 2.024 MB / 377.2 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2996, allocations: 0.5625 kB / 377.2 MB, free: 16.13 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.3002, allocations: 453.4 kB / 377.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.3003, allocations: 111.4 kB / 377.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.406e-05/0.3003, allocations: 5.406 kB / 377.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3004, allocations: 5.781 kB / 377.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.3005, allocations: 19.73 kB / 377.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.3005, allocations: 15.72 kB / 377.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.002e-05/0.3006, allocations: 130.1 kB / 377.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3006, allocations: 0 / 377.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004947/0.3011, allocations: 99.94 kB / 378 MB, free: 15.61 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.0001912/0.3013, allocations: 131 kB / 378.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005438/0.3018, allocations: 356.8 kB / 378.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3018, allocations: 0 / 378.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.3021, allocations: 245.2 kB / 378.7 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3025, allocations: 25.91 kB / 378.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.3034, allocations: 0.5932 MB / 379.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.3037, allocations: 0.7553 MB / 380.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.3037, allocations: 18.16 kB / 380.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3037, allocations: 0 / 380.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Templates: time 0.006582/0.3103, allocations: 4.006 MB / 384.1 MB, free: 13.65 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