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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 109.1 kB / 21.22 MB, free: 0.7539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001663/0.001663, allocations: 219.8 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 230.5 MB / 258.2 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 55.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2443, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.004331/0.2487, allocations: 2.876 MB / 434.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.2506, allocations: 1.238 MB / 436.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2507, allocations: 11.94 kB / 436.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.2521, allocations: 0.6146 MB / 436.7 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.2524, allocations: 139 kB / 436.9 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.2537, allocations: 0.6648 MB / 437.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000399/0.2541, allocations: 294.6 kB / 437.8 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.2545, allocations: 244.1 kB / 438 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.2547, allocations: 139.5 kB / 438.2 MB, free: 468 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.2549, allocations: 159.4 kB / 438.3 MB, free: 308 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.2549, allocations: 32 kB / 438.4 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003301/0.2553, allocations: 191.8 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.152e-05/0.2553, allocations: 59.77 kB / 438.6 MB, free: 24 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.2555, allocations: 147.3 kB / 438.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006097/0.2561, allocations: 0.5014 MB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2561, allocations: 3.938 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2561, allocations: 0 / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.2561, allocations: 0 / 439.3 MB, free: 15.38 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.001599/0.2577, allocations: 0.6534 MB / 439.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2577, allocations: 8.031 kB / 439.9 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.2577, allocations: 8.844 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.085e-05/0.2578, allocations: 70.72 kB / 440 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/0.2586, allocations: 116.7 kB / 440.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.259, allocations: 214.7 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.259, allocations: 24.97 kB / 440.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.2591, allocations: 39.94 kB / 440.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.2596, allocations: 337 kB / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.2596, allocations: 0 / 440.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.2597, allocations: 16 kB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.2597, allocations: 8 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004107/0.2601, allocations: 242.5 kB / 441 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.262, allocations: 1.364 MB / 442.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.2625, allocations: 246.1 kB / 442.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.2627, allocations: 95.88 kB / 442.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.2628, allocations: 15.98 kB / 442.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/0.2628, allocations: 38.48 kB / 442.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.463e-06/0.2628, allocations: 0 / 442.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001185/0.264, allocations: 414.3 kB / 443.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2641, allocations: 59.39 kB / 443.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.2642, allocations: 171.3 kB / 443.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.2643, allocations: 25.7 kB / 443.4 MB, free: 11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2644, allocations: 188.3 kB / 443.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.2645, allocations: 83.28 kB / 443.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.813e-05/0.2645, allocations: 53.98 kB / 443.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.2647, allocations: 322.8 kB / 444 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.2648, allocations: 80.47 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/0.265, allocations: 133.2 kB / 444.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.2653, allocations: 216.9 kB / 444.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2653, allocations: 3.938 kB / 444.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005863/0.2659, allocations: 327.8 kB / 444.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2659, allocations: 4 kB / 444.8 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2659, allocations: 4 kB / 444.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.2662, allocations: 84.67 kB / 444.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2664, allocations: 44.02 kB / 444.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.2684, allocations: 1.938 MB / 446.8 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.2685, allocations: 23.88 kB / 446.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2686, allocations: 12 kB / 446.9 MB, free: 7.316 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.0001497/0.2687, allocations: 149.7 kB / 447 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.2688, allocations: 27.86 kB / 447 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005503/0.2693, allocations: 277.1 kB / 447.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2693, allocations: 4 kB / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.2693, allocations: 0 / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2693, allocations: 0 / 447.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.2703, allocations: 0.6661 MB / 448 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2703, allocations: 0 / 448 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2704, allocations: 23.98 kB / 448 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/0.2707, allocations: 73.03 kB / 448.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.2707, allocations: 12 kB / 448.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.2727, allocations: 1.914 MB / 450 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2727, allocations: 3.938 kB / 450 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.2733, allocations: 456.4 kB / 450.5 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.2734, allocations: 35.84 kB / 450.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.2734, allocations: 4 kB / 450.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.2736, allocations: 8 kB / 450.5 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2736, allocations: 15.97 kB / 450.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.2736, allocations: 8 kB / 450.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.2737, allocations: 119.2 kB / 450.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2737, allocations: 0 / 450.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004783/0.2742, allocations: 111.8 kB / 450.7 MB, free: 3.223 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.001097/0.2753, allocations: 0.9986 MB / 451.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006256/0.2759, allocations: 339.3 kB / 452.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2759, allocations: 448 / 452.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.2763, allocations: 258.1 kB / 452.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.2766, allocations: 29.64 kB / 452.4 MB, free: 1.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.2799, allocations: 2.5 MB / 454.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.2803, allocations: 0.7638 MB / 455.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.798e-05/0.2804, allocations: 21.94 kB / 455.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.2805, allocations: 75.41 kB / 455.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2805, allocations: 0 / 455.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.3105, allocations: 5.428 MB / 461.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.13, allocations: 3.859 kB / 461.1 MB, free: 8.746 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1) [Timeout 52.5] 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.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.457275534979999]