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.001432/0.001432, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001546/0.001546, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.354/1.354, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.001384/0.001384, allocations: 51.91 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2117, allocations: 53.36 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004086/0.2158, allocations: 2.658 MB / 434.5 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.218, allocations: 1.133 MB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.2183, allocations: 11.94 kB / 435.7 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.2199, allocations: 0.5673 MB / 436.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.2204, allocations: 143 kB / 436.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.2216, allocations: 0.6178 MB / 437 MB, free: 1.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.2221, allocations: 306.5 kB / 437.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.2226, allocations: 237.3 kB / 437.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.2229, allocations: 135.5 kB / 437.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2231, allocations: 171.3 kB / 437.8 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.2232, allocations: 24 kB / 437.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.2236, allocations: 183.8 kB / 438 MB, free: 480 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.2236, allocations: 55.83 kB / 438.1 MB, free: 424 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.2238, allocations: 119.4 kB / 438.2 MB, free: 304 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006503/0.2244, allocations: 0.502 MB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2244, allocations: 3.984 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2244, allocations: 4 kB / 438.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.2244, allocations: 0 / 438.7 MB, free: 15.79 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.001578/0.226, allocations: 0.6495 MB / 439.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2261, allocations: 15.97 kB / 439.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.26e-05/0.2261, allocations: 8.844 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.78e-05/0.2261, allocations: 66.72 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/0.2269, allocations: 120.7 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.2273, allocations: 210.7 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2273, allocations: 25.03 kB / 439.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.2273, allocations: 35.94 kB / 439.8 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.2279, allocations: 333 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.2279, allocations: 3.984 kB / 440.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.115e-05/0.2279, allocations: 16 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2279, allocations: 12 kB / 440.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003965/0.2283, allocations: 234.5 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.2301, allocations: 1.101 MB / 441.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/0.2305, allocations: 232.7 kB / 441.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2307, allocations: 92.77 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.747e-05/0.2308, allocations: 19.98 kB / 441.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2308, allocations: 38.56 kB / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.462e-06/0.2308, allocations: 0 / 441.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001134/0.2319, allocations: 411.9 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/0.232, allocations: 55.41 kB / 442.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2321, allocations: 171.3 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2322, allocations: 33.64 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.2323, allocations: 180.3 kB / 442.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.2323, allocations: 91.27 kB / 442.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.907e-05/0.2324, allocations: 53.98 kB / 442.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2326, allocations: 330.8 kB / 443.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.2327, allocations: 68.53 kB / 443.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.2328, allocations: 129 kB / 443.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.2331, allocations: 220 kB / 443.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.2331, allocations: 7.938 kB / 443.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005509/0.2337, allocations: 328.6 kB / 443.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2337, allocations: 4 kB / 443.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2337, allocations: 7.938 kB / 443.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000292/0.234, allocations: 77.02 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2341, allocations: 43.92 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/0.2361, allocations: 1.918 MB / 446 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.2362, allocations: 27.91 kB / 446 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.2362, allocations: 16 kB / 446 MB, free: 8.07 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.0001309/0.2363, allocations: 145.7 kB / 446.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2364, allocations: 23.8 kB / 446.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.2369, allocations: 287.9 kB / 446.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2369, allocations: 4 kB / 446.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.2369, allocations: 0 / 446.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2369, allocations: 0 / 446.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009131/0.2379, allocations: 0.631 MB / 447.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2379, allocations: 0 / 447.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.238, allocations: 20 kB / 447.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002298/0.2382, allocations: 80.8 kB / 447.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2382, allocations: 7.938 kB / 447.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.2401, allocations: 1.907 MB / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2401, allocations: 8.016 kB / 449.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.2407, allocations: 455.1 kB / 449.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.2408, allocations: 35.84 kB / 449.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.2408, allocations: 4 kB / 449.6 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.2409, allocations: 4 kB / 449.6 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.241, allocations: 23.95 kB / 449.6 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.241, allocations: 4 kB / 449.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.2411, allocations: 131.2 kB / 449.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2411, allocations: 4.125 kB / 449.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.2415, allocations: 99.72 kB / 449.9 MB, free: 4.016 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.0009924/0.2425, allocations: 0.9941 MB / 450.9 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005719/0.2431, allocations: 334.4 kB / 451.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2431, allocations: 0 / 451.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.2434, allocations: 257 kB / 451.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.2437, allocations: 27 kB / 451.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.2468, allocations: 2.496 MB / 454 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.2469, allocations: 158.3 kB / 454.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.247, allocations: 17.95 kB / 454.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2471, allocations: 71.41 kB / 454.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2471, allocations: 4 kB / 454.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2894/0.5365, allocations: 5.512 MB / 459.7 MB, free: 10.13 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.38, allocations: 4.062 kB / 459.7 MB, free: 10.13 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.949332642019726]