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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_Leakage_GeneralLeakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001455/0.001455, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001848/0.001848, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003625/0.2341, allocations: 2.85 MB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.2357, allocations: 1.191 MB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.2358, allocations: 7.938 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.2372, allocations: 0.6144 MB / 413.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002988/0.2375, allocations: 147 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2387, allocations: 0.6498 MB / 414.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.239, allocations: 294.6 kB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.2395, allocations: 268.5 kB / 414.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.2397, allocations: 139.5 kB / 414.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.2399, allocations: 167.3 kB / 415.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.2399, allocations: 28 kB / 415.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.2402, allocations: 183.8 kB / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.2403, allocations: 67.7 kB / 415.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.2404, allocations: 147.3 kB / 415.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.241, allocations: 0.4907 MB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.241, allocations: 4 kB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.241, allocations: 3.984 kB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.241, allocations: 0 / 416 MB, free: 10.29 MB / 334.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.001527/0.2425, allocations: 0.7255 MB / 416.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2426, allocations: 8.031 kB / 416.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.361e-05/0.2426, allocations: 70.72 kB / 416.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/0.2434, allocations: 116.6 kB / 416.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003506/0.2438, allocations: 267.8 kB / 417.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.2438, allocations: 29.03 kB / 417.2 MB, free: 8.988 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.2438, allocations: 36.12 kB / 417.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.2443, allocations: 329.1 kB / 417.5 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2444, allocations: 7.938 kB / 417.5 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.2444, allocations: 12 kB / 417.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2444, allocations: 8 kB / 417.6 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.2448, allocations: 246.5 kB / 417.8 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.2466, allocations: 1.435 MB / 419.2 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.2472, allocations: 0.6998 MB / 419.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.2474, allocations: 112.2 kB / 420.1 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001672/0.2475, allocations: 166.2 kB / 420.2 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.2476, allocations: 42.55 kB / 420.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.352e-06/0.2476, allocations: 0 / 420.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.001139/0.2487, allocations: 494.4 kB / 420.7 MB, free: 5.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.2488, allocations: 55.41 kB / 420.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2489, allocations: 171.3 kB / 421 MB, free: 4.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.249, allocations: 29.7 kB / 421 MB, free: 4.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.2491, allocations: 179.9 kB / 421.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.2491, allocations: 82.84 kB / 421.2 MB, free: 4.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-05/0.2492, allocations: 53.89 kB / 421.3 MB, free: 4.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2493, allocations: 330.8 kB / 421.6 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.2494, allocations: 64.55 kB / 421.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.2496, allocations: 129 kB / 421.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.2499, allocations: 220.9 kB / 422 MB, free: 3.711 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2499, allocations: 7.938 kB / 422 MB, free: 3.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005071/0.2504, allocations: 331.5 kB / 422.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2504, allocations: 4 kB / 422.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.2504, allocations: 4 kB / 422.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.2507, allocations: 77.03 kB / 422.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2509, allocations: 47.91 kB / 422.5 MB, free: 3.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/0.2527, allocations: 2.029 MB / 424.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.2528, allocations: 27.72 kB / 424.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.2529, allocations: 8 kB / 424.6 MB, free: 1.031 MB / 334.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.0001523/0.253, allocations: 157.8 kB / 424.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.2531, allocations: 19.75 kB / 424.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.2536, allocations: 272.1 kB / 425 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2536, allocations: 7.984 kB / 425 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2536, allocations: 8 kB / 425 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.2536, allocations: 3.984 kB / 425 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008817/0.2545, allocations: 0.6894 MB / 425.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2545, allocations: 0 / 425.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.2546, allocations: 20 kB / 425.7 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/0.2548, allocations: 84.73 kB / 425.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2549, allocations: 0 / 425.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.2566, allocations: 2.022 MB / 427.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2566, allocations: 0 / 427.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.2572, allocations: 456.3 kB / 428.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.2573, allocations: 120.8 kB / 428.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.2573, allocations: 0 / 428.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.2574, allocations: 4 kB / 428.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.2575, allocations: 23.97 kB / 428.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2575, allocations: 4 kB / 428.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.2576, allocations: 127.3 kB / 428.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2576, allocations: 0 / 428.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004336/0.258, allocations: 99.69 kB / 428.6 MB, free: 12.68 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.0009278/0.259, allocations: 1.007 MB / 429.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005536/0.2595, allocations: 350.6 kB / 430 MB, free: 11.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.2596, allocations: 4 kB / 430 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000297/0.2599, allocations: 254.5 kB / 430.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.2602, allocations: 20 kB / 430.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.263, allocations: 2.502 MB / 432.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.2633, allocations: 0.756 MB / 433.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.934e-05/0.2634, allocations: 29.94 kB / 433.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.2635, allocations: 71.59 kB / 433.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2635, allocations: 0 / 433.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8706/1.134, allocations: 5.19 MB / 438.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.65, allocations: 6.812 kB / 438.8 MB, free: 2.465 MB / 350.1 MB (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 --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) 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.0.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) Reference file matches