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.001669/0.001669, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001867/0.001867, allocations: 216 kB / 23.75 MB, free: 4.668 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.004 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 51.86 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 53.36 MB / 431.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004685/0.2523, allocations: 2.878 MB / 434 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.2546, allocations: 1.23 MB / 435.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002448/0.2549, allocations: 11.94 kB / 435.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.2567, allocations: 0.6217 MB / 435.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.2571, allocations: 139 kB / 436 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.2587, allocations: 0.6654 MB / 436.7 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005719/0.2592, allocations: 298.6 kB / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.2598, allocations: 240.1 kB / 437.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.26, allocations: 135.5 kB / 437.3 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.2603, allocations: 167.4 kB / 437.5 MB, free: 460 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.2604, allocations: 24 kB / 437.5 MB, free: 436 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.2608, allocations: 187.8 kB / 437.7 MB, free: 248 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.733e-05/0.2609, allocations: 59.77 kB / 437.8 MB, free: 188 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.2611, allocations: 147.3 kB / 437.9 MB, free: 40 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007979/0.2619, allocations: 0.5014 MB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2619, allocations: 0 / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2619, allocations: 4 kB / 438.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.2619, allocations: 0 / 438.4 MB, free: 15.54 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.001794/0.2637, allocations: 0.6495 MB / 439.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.2637, allocations: 12.03 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.52e-05/0.2638, allocations: 70.72 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008141/0.2646, allocations: 116.7 kB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004349/0.2651, allocations: 218.6 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.2651, allocations: 25.03 kB / 439.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.005e-05/0.2652, allocations: 32.12 kB / 439.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006157/0.2658, allocations: 341 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.2658, allocations: 0 / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.2658, allocations: 19.92 kB / 439.9 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.2658, allocations: 11.98 kB / 439.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000479/0.2663, allocations: 242.5 kB / 440.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.2686, allocations: 1.364 MB / 441.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.2691, allocations: 236.7 kB / 441.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.2693, allocations: 95.89 kB / 441.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.2694, allocations: 15.98 kB / 441.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2694, allocations: 38.56 kB / 441.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 3.827e-06/0.2694, allocations: 7.922 kB / 441.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001282/0.2707, allocations: 419.9 kB / 442.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.2708, allocations: 51.41 kB / 442.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.271, allocations: 175.3 kB / 442.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.271, allocations: 33.7 kB / 442.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.2711, allocations: 184.3 kB / 442.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.2712, allocations: 83.28 kB / 442.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.2713, allocations: 49.98 kB / 442.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.2715, allocations: 326.8 kB / 443.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.2716, allocations: 68.53 kB / 443.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.2718, allocations: 140.9 kB / 443.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.2721, allocations: 212.1 kB / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2721, allocations: 4 kB / 443.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006379/0.2727, allocations: 332.5 kB / 443.9 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.2728, allocations: 8 kB / 443.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.2728, allocations: 224 / 443.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003107/0.2731, allocations: 80.75 kB / 444 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.2732, allocations: 47.91 kB / 444.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002268/0.2755, allocations: 1.93 MB / 446 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2757, allocations: 27.83 kB / 446 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2757, allocations: 20.06 kB / 446 MB, free: 7.473 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.000174/0.2759, allocations: 145.7 kB / 446.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.2759, allocations: 23.8 kB / 446.2 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.2765, allocations: 279.9 kB / 446.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2765, allocations: 3.984 kB / 446.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2765, allocations: 4 kB / 446.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2765, allocations: 0 / 446.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.2776, allocations: 0.6543 MB / 447.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2776, allocations: 0 / 447.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.2777, allocations: 31.92 kB / 447.2 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.278, allocations: 76.8 kB / 447.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.278, allocations: 4 kB / 447.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/0.2801, allocations: 1.922 MB / 449.2 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2801, allocations: 4.062 kB / 449.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.2808, allocations: 456.2 kB / 449.6 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.2809, allocations: 31.86 kB / 449.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.2809, allocations: 8 kB / 449.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2811, allocations: 7.984 kB / 449.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.2811, allocations: 20.03 kB / 449.7 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.2811, allocations: 8 kB / 449.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.2812, allocations: 127.2 kB / 449.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2812, allocations: 0 / 449.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005132/0.2817, allocations: 99.77 kB / 449.9 MB, free: 3.387 MB / 350.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.001145/0.2829, allocations: 0.9992 MB / 450.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006596/0.2836, allocations: 346.4 kB / 451.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2836, allocations: 0 / 451.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.2839, allocations: 246.2 kB / 451.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.2843, allocations: 28.42 kB / 451.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003534/0.2878, allocations: 2.505 MB / 454 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.2883, allocations: 0.7482 MB / 454.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.764e-05/0.2883, allocations: 29.92 kB / 454.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.2885, allocations: 71.42 kB / 454.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2885, allocations: 192 / 454.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03996/0.3284, allocations: 5.392 MB / 460.3 MB, free: 8.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.47, allocations: 15.73 kB / 460.3 MB, free: 8.957 MB / 366.1 MB " [Timeout remaining time 647] (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: 14.87104320898652]