Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 121 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.385/1.385, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.09981, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004397/0.1042, allocations: 2.863 MB / 429.9 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002095/0.1063, allocations: 1.226 MB / 431.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1064, allocations: 7.938 kB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.108, allocations: 0.6212 MB / 431.7 MB, free: 40 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.181/0.289, allocations: 135.6 kB / 431.9 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.2905, allocations: 0.6466 MB / 432.5 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.2911, allocations: 302.6 kB / 432.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000455/0.2916, allocations: 205.9 kB / 433 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.2918, allocations: 143.5 kB / 433.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.2921, allocations: 161.8 kB / 433.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.2922, allocations: 25.31 kB / 433.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004815/0.2927, allocations: 190.7 kB / 433.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.2927, allocations: 62.8 kB / 433.6 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2929, allocations: 148 kB / 433.7 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006962/0.2935, allocations: 0.4979 MB / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2936, allocations: 1.562 kB / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2936, allocations: 0 / 434.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.183e-05/0.2936, allocations: 0 / 434.2 MB, free: 7.371 MB / 350.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.001714/0.2953, allocations: 0.7292 MB / 435 MB, free: 6.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2953, allocations: 10.84 kB / 435 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.341e-05/0.2954, allocations: 8.656 kB / 435 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.076e-05/0.2954, allocations: 73.77 kB / 435 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008105/0.2962, allocations: 121 kB / 435.2 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.2966, allocations: 263.6 kB / 435.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.2966, allocations: 29.84 kB / 435.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/0.2967, allocations: 30.5 kB / 435.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.2972, allocations: 341.2 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2973, allocations: 1.531 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2973, allocations: 14.73 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.462e-05/0.2973, allocations: 10.72 kB / 435.8 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.2977, allocations: 238.4 kB / 436.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2995, allocations: 1.44 MB / 437.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.3, allocations: 0.687 MB / 438.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3002, allocations: 91.11 kB / 438.3 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/0.3003, allocations: 170.2 kB / 438.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.3003, allocations: 41.59 kB / 438.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.273e-06/0.3003, allocations: 0.8438 kB / 438.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00114/0.3014, allocations: 0.4902 MB / 439 MB, free: 4.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.3015, allocations: 54.11 kB / 439 MB, free: 4.602 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.3016, allocations: 169.1 kB / 439.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3016, allocations: 31.83 kB / 439.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.3017, allocations: 179.8 kB / 439.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3017, allocations: 90.58 kB / 439.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.3018, allocations: 50.55 kB / 439.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.769e-05/0.3019, allocations: 332.2 kB / 439.9 MB, free: 3.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.302, allocations: 66.7 kB / 439.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3021, allocations: 127.5 kB / 440.1 MB, free: 3.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.3023, allocations: 222.6 kB / 440.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3024, allocations: 1.25 kB / 440.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005347/0.3029, allocations: 334.2 kB / 440.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3029, allocations: 5.5 kB / 440.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3029, allocations: 2.828 kB / 440.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/0.3032, allocations: 75.42 kB / 440.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3034, allocations: 50.27 kB / 440.7 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.3049, allocations: 2.022 MB / 442.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.305, allocations: 31.09 kB / 442.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.3051, allocations: 10.2 kB / 442.8 MB, free: 1.605 MB / 350.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.0001013/0.3052, allocations: 146.7 kB / 442.9 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.3052, allocations: 25.03 kB / 443 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.3057, allocations: 274.9 kB / 443.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3057, allocations: 3.891 kB / 443.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3057, allocations: 3.156 kB / 443.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3057, allocations: 8.406 kB / 443.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008714/0.3066, allocations: 0.6852 MB / 443.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3066, allocations: 288 / 443.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3067, allocations: 30.12 kB / 444 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.307, allocations: 78.5 kB / 444 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.307, allocations: 5.859 kB / 444.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.3088, allocations: 2.025 MB / 446.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3088, allocations: 0.5 kB / 446.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007814/0.3096, allocations: 461.3 kB / 446.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.3097, allocations: 111.4 kB / 446.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.3098, allocations: 6.969 kB / 446.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.3099, allocations: 5.031 kB / 446.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.3099, allocations: 15.38 kB / 446.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3099, allocations: 9.078 kB / 446.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.3101, allocations: 126.4 kB / 446.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3101, allocations: 4.062 kB / 446.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005201/0.3106, allocations: 95.78 kB / 446.9 MB, free: 14.49 MB / 366.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.001115/0.3117, allocations: 1.002 MB / 447.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006492/0.3124, allocations: 346.8 kB / 448.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3124, allocations: 4.125 kB / 448.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.3127, allocations: 241.6 kB / 448.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.313, allocations: 25.91 kB / 448.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003537/0.3166, allocations: 2.503 MB / 451 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.317, allocations: 0.7584 MB / 451.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.306e-05/0.3171, allocations: 23.56 kB / 451.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3172, allocations: 72.08 kB / 451.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3172, allocations: 0 / 451.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03047/0.3477, allocations: 5.239 MB / 457.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.55, allocations: 6.688 kB / 457.1 MB, free: 10.01 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/GeneralLeakage/GeneralLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.974542598996777]