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.000807/0.0008103, allocations: 94.55 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009247/0.0009248, allocations: 201.5 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.000248, allocations: 8 kB / 308.4 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08752/0.08779, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.002966/0.0908, allocations: 2.496 MB / 362.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.09267, allocations: 1.18 MB / 363.6 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.09285, allocations: 8 kB / 363.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.09324, allocations: 131.5 kB / 363.7 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.09361, allocations: 115.3 kB / 363.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.09483, allocations: 0.6191 MB / 364.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.09521, allocations: 286.6 kB / 364.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009975/0.09623, allocations: 0.585 MB / 365.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.09644, allocations: 111.5 kB / 365.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.09665, allocations: 147.4 kB / 365.6 MB, free: 7.562 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.0967, allocations: 12 kB / 365.6 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.09707, allocations: 175.8 kB / 365.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.09713, allocations: 39.84 kB / 365.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.09729, allocations: 161 kB / 366 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.09777, allocations: 379.2 kB / 366.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.09779, allocations: 0 / 366.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.0978, allocations: 0 / 366.3 MB, free: 6.805 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.09781, allocations: 3.938 kB / 366.3 MB, free: 6.801 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.001572/0.09939, allocations: 0.671 MB / 367 MB, free: 6.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.09944, allocations: 8.031 kB / 367 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000817/0.1003, allocations: 124.5 kB / 367.1 MB, free: 5.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.1006, allocations: 251.4 kB / 367.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.1006, allocations: 29.03 kB / 367.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.554e-05/0.1007, allocations: 40.22 kB / 367.5 MB, free: 5.602 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1012, allocations: 333 kB / 367.8 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1012, allocations: 3.984 kB / 367.8 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.1013, allocations: 19.94 kB / 367.8 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.1013, allocations: 8 kB / 367.8 MB, free: 5.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003816/0.1017, allocations: 238.5 kB / 368 MB, free: 5.004 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.1035, allocations: 1.439 MB / 369.5 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.1041, allocations: 0.7073 MB / 370.2 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1043, allocations: 100.8 kB / 370.3 MB, free: 2.496 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001701/0.1045, allocations: 170.1 kB / 370.5 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.1045, allocations: 38.56 kB / 370.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.1045, allocations: 3.938 kB / 370.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=24): time 0.001165/0.1057, allocations: 0.496 MB / 371 MB, free: 1.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1057, allocations: 55.34 kB / 371 MB, free: 1.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.1059, allocations: 173.2 kB / 371.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1059, allocations: 33.7 kB / 371.2 MB, free: 1.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.106, allocations: 180 kB / 371.4 MB, free: 1.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.1061, allocations: 86.75 kB / 371.5 MB, free: 1.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.1062, allocations: 29.7 kB / 371.5 MB, free: 1.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1063, allocations: 326.8 kB / 371.9 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.1064, allocations: 64.53 kB / 371.9 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.1065, allocations: 133 kB / 372 MB, free: 0.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1068, allocations: 216.8 kB / 372.3 MB, free: 356 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1068, allocations: 8 kB / 372.3 MB, free: 348 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005554/0.1074, allocations: 328.5 kB / 372.6 MB, free: 12 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1074, allocations: 11.98 kB / 372.6 MB, free: 0 / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1074, allocations: 0 / 372.6 MB, free: 0 / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1769/0.2843, allocations: 68.06 kB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.2846, allocations: 44.69 kB / 372.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.2865, allocations: 1.835 MB / 374.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.2867, allocations: 25.16 kB / 374.6 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.2867, allocations: 9.844 kB / 374.6 MB, free: 17.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.0001533/0.2869, allocations: 150.2 kB / 374.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.287, allocations: 18.78 kB / 374.7 MB, free: 17.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005977/0.2876, allocations: 286.6 kB / 375 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2876, allocations: 6.938 kB / 375 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.2876, allocations: 2.062 kB / 375 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2876, allocations: 5.766 kB / 375 MB, free: 17.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.2887, allocations: 0.6856 MB / 375.7 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.2887, allocations: 3.719 kB / 375.7 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.2888, allocations: 24.17 kB / 375.8 MB, free: 17.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002549/0.2891, allocations: 75.05 kB / 375.8 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.2891, allocations: 9.375 kB / 375.8 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.2907, allocations: 1.838 MB / 377.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2907, allocations: 1.125 kB / 377.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.2914, allocations: 445.7 kB / 378.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.2915, allocations: 109.9 kB / 378.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.2915, allocations: 10.59 kB / 378.2 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.2916, allocations: 5.656 kB / 378.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.2917, allocations: 23.03 kB / 378.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2917, allocations: 5.875 kB / 378.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.2918, allocations: 124.7 kB / 378.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2918, allocations: 4.406 kB / 378.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005466/0.2924, allocations: 99.38 kB / 378.5 MB, free: 15.43 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.0002217/0.2926, allocations: 123.3 kB / 378.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.2933, allocations: 358.1 kB / 379 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2933, allocations: 0 / 379 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.2937, allocations: 252.4 kB / 379.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2941, allocations: 18.16 kB / 379.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2952, allocations: 0.7672 MB / 380 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.2955, allocations: 0.7509 MB / 380.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.2955, allocations: 23.23 kB / 380.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2955, allocations: 0 / 380.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of Templates: time 0.008006/0.3036, allocations: 3.961 MB / 384.7 MB, free: 13.38 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