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.001271/0.001271, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001418/0.001418, allocations: 203.5 kB / 23.73 MB, free: 4.379 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.37/1.37, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001436/0.001436, allocations: 55.91 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.228, allocations: 53.38 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004022/0.232, allocations: 2.658 MB / 433.8 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2338, allocations: 1.137 MB / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2339, allocations: 8 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.2354, allocations: 0.5795 MB / 435.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003075/0.2357, allocations: 139 kB / 435.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2369, allocations: 0.6107 MB / 436.2 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004056/0.2373, allocations: 298.6 kB / 436.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.2377, allocations: 232.9 kB / 436.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.2379, allocations: 143.5 kB / 436.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.2382, allocations: 163.4 kB / 437 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2382, allocations: 24 kB / 437.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.2385, allocations: 183.8 kB / 437.2 MB, free: 476 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.2386, allocations: 67.7 kB / 437.3 MB, free: 408 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.2387, allocations: 127.4 kB / 437.4 MB, free: 280 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.2393, allocations: 0.4982 MB / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2393, allocations: 0 / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2393, allocations: 0 / 437.9 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.2394, allocations: 0 / 437.9 MB, free: 15.77 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.00158/0.2409, allocations: 0.6534 MB / 438.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.241, allocations: 8.031 kB / 438.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.248e-05/0.241, allocations: 74.72 kB / 438.7 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000784/0.2418, allocations: 116.6 kB / 438.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2422, allocations: 206.7 kB / 439 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.517e-05/0.2422, allocations: 29.02 kB / 439 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.2423, allocations: 44.11 kB / 439.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.2428, allocations: 325.1 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2428, allocations: 4 kB / 439.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.2429, allocations: 12 kB / 439.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2429, allocations: 8 kB / 439.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004126/0.2433, allocations: 246.4 kB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.2451, allocations: 1.086 MB / 440.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.2456, allocations: 234.6 kB / 441 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.2458, allocations: 100.8 kB / 441.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.2459, allocations: 15.98 kB / 441.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.2459, allocations: 34.56 kB / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.2459, allocations: 0 / 441.1 MB, free: 12.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00119/0.2471, allocations: 419.9 kB / 441.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2471, allocations: 51.41 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2473, allocations: 179.2 kB / 441.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.2473, allocations: 29.7 kB / 441.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2475, allocations: 184.3 kB / 441.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/0.2475, allocations: 91.25 kB / 442 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.753e-05/0.2476, allocations: 53.94 kB / 442.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.2478, allocations: 330.8 kB / 442.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2479, allocations: 64.55 kB / 442.5 MB, free: 11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.248, allocations: 133 kB / 442.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2483, allocations: 224 kB / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2483, allocations: 0 / 442.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005791/0.2489, allocations: 328.5 kB / 443.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.2489, allocations: 8 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.2489, allocations: 4.219 kB / 443.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.2492, allocations: 80.73 kB / 443.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2494, allocations: 47.92 kB / 443.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.2515, allocations: 1.907 MB / 445.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.2516, allocations: 27.77 kB / 445.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.2516, allocations: 16 kB / 445.2 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.000145/0.2518, allocations: 141.8 kB / 445.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.2518, allocations: 19.84 kB / 445.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005645/0.2524, allocations: 283.9 kB / 445.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2524, allocations: 3.984 kB / 445.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.2524, allocations: 4 kB / 445.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2524, allocations: 3.938 kB / 445.7 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.2533, allocations: 0.631 MB / 446.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2533, allocations: 0 / 446.3 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.2535, allocations: 28.27 kB / 446.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002434/0.2537, allocations: 84.67 kB / 446.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.2537, allocations: 0 / 446.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.2556, allocations: 1.907 MB / 448.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2556, allocations: 0 / 448.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.2563, allocations: 456.4 kB / 448.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.2563, allocations: 35.84 kB / 448.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.2564, allocations: 8 kB / 448.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.2565, allocations: 4 kB / 448.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2565, allocations: 15.97 kB / 448.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.2565, allocations: 12.12 kB / 448.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2566, allocations: 131.2 kB / 449 MB, free: 4.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2566, allocations: 0 / 449 MB, free: 4.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004668/0.2571, allocations: 95.78 kB / 449.1 MB, free: 4.027 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.001026/0.2581, allocations: 1.004 MB / 450.1 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006021/0.2587, allocations: 334.4 kB / 450.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2587, allocations: 3.938 kB / 450.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003318/0.2591, allocations: 246.8 kB / 450.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2594, allocations: 25.23 kB / 450.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.2625, allocations: 2.513 MB / 453.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.2627, allocations: 146.5 kB / 453.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.319e-05/0.2628, allocations: 33.88 kB / 453.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2629, allocations: 71.41 kB / 453.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2629, allocations: 0 / 453.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04416/0.307, allocations: 5.843 MB / 459.3 MB, free: 9.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.54, allocations: 7.375 kB / 459.3 MB, free: 9.773 MB / 366.1 MB " [Timeout remaining time 648] (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: 13.784004762012046]