Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.001145/0.001145, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003749/0.003749, allocations: 159.4 kB / 24.69 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8412/0.8412, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.681e-05/1.848e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1221/0.1221, allocations: 8.641 MB / 307.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004806/0.1269, allocations: 3.217 MB / 310.3 MB, free: 9.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007331/0.1277, allocations: 71.97 kB / 310.4 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003938/0.1316, allocations: 3.791 MB / 314.2 MB, free: 6.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.134, allocations: 1.431 MB / 315.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.1353, allocations: 1.117 MB / 316.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006164/0.1415, allocations: 9.519 MB / 326.2 MB, free: 364 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.1552, allocations: 12.85 MB / 339.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01152/0.1667, allocations: 7.513 MB / 346.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008534/0.1753, allocations: 5.505 MB / 352.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002388/0.1776, allocations: 1.402 MB / 353.5 MB, free: 7.605 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.1808, allocations: 1.632 MB / 355.1 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001837/0.1826, allocations: 2.977 MB / 358.1 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.1859, allocations: 3.673 MB / 361.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.1972, allocations: 19.02 MB / 380.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1972, allocations: 0 / 380.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1972, allocations: 0 / 380.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002271/0.1975, allocations: 4 kB / 380.8 MB, free: 12.23 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.01693/0.2144, allocations: 12.29 MB / 393.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2144, allocations: 11.98 kB / 393.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001215/0.2156, allocations: 1.336 MB / 394.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0227/0.2383, allocations: 8.546 MB / 403 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008844/0.2472, allocations: 5.493 MB / 408.5 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.2475, allocations: 0.6624 MB / 409.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.2489, allocations: 0.8631 MB / 410 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01912/0.268, allocations: 16.23 MB / 426.2 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.2681, allocations: 11.94 kB / 426.3 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006818/0.2688, allocations: 372 kB / 426.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003706/0.2692, allocations: 0.5504 MB / 427.2 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.2882, allocations: 15.63 MB / 442.8 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3657/0.6539, allocations: 43 MB / 485.8 MB, free: 90.31 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009611/0.6635, allocations: 8.43 MB / 494.2 MB, free: 87.78 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003489/0.667, allocations: 3.245 MB / 497.5 MB, free: 86.62 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002731/0.6672, allocations: 89.56 kB / 497.6 MB, free: 86.61 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.6673, allocations: 86.12 kB / 497.6 MB, free: 86.54 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 7.885e-06/0.6673, allocations: 0 / 497.6 MB, free: 86.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01526/0.6825, allocations: 11.08 MB / 0.4968 GB, free: 80.76 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.6826, allocations: 128.7 kB / 0.4969 GB, free: 80.66 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004996/0.6876, allocations: 4.016 MB / 0.5008 GB, free: 77.52 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001497/0.6891, allocations: 101.7 kB / 0.5009 GB, free: 77.41 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/0.6908, allocations: 4.03 MB / 0.5049 GB, free: 74.03 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/0.6932, allocations: 1.664 MB / 0.5065 GB, free: 72.48 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00197/0.6952, allocations: 1.461 MB / 0.5079 GB, free: 71.01 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.337e-05/0.6952, allocations: 301.1 kB / 0.5082 GB, free: 70.71 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.6987, allocations: 3.688 MB / 0.5118 GB, free: 67.02 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.7031, allocations: 6.523 MB / 0.5182 GB, free: 59.2 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008116/0.7112, allocations: 10.83 MB / 0.5288 GB, free: 47.04 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.572e-05/0.7113, allocations: 28 kB / 0.5288 GB, free: 47.01 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01437/0.7257, allocations: 11.93 MB / 0.5404 GB, free: 35.01 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.7258, allocations: 44 kB / 0.5405 GB, free: 34.96 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.987e-05/0.7258, allocations: 92 kB / 0.5406 GB, free: 34.88 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002631/0.7285, allocations: 1.621 MB / 0.5422 GB, free: 33.23 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003214/0.7317, allocations: 1.665 MB / 0.5438 GB, free: 31.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/0.7411, allocations: 16.86 MB / 0.5602 GB, free: 14.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/0.7447, allocations: 0.978 MB / 0.5612 GB, free: 13.04 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/0.7453, allocations: 364 kB / 0.5615 GB, free: 12.68 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003712/0.749, allocations: 3.758 MB / 0.5652 GB, free: 8.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.7494, allocations: 409.4 kB / 0.5656 GB, free: 8.508 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/0.7575, allocations: 8.518 MB / 0.5739 GB, free: 15.91 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.185e-05/0.7575, allocations: 48 kB / 0.574 GB, free: 15.86 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.238e-05/0.7575, allocations: 15.98 kB / 0.574 GB, free: 15.84 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.234e-05/0.7576, allocations: 23.91 kB / 0.574 GB, free: 15.82 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02379/0.7813, allocations: 16.17 MB / 0.5898 GB, free: 15.59 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.7814, allocations: 8.031 kB / 0.5898 GB, free: 15.59 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/0.7834, allocations: 0.8581 MB / 0.5906 GB, free: 14.73 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.786, allocations: 1.511 MB / 0.5921 GB, free: 13.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/0.7862, allocations: 104 kB / 0.5922 GB, free: 13.09 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/0.7988, allocations: 16.67 MB / 0.6085 GB, free: 11.75 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7988, allocations: 7.938 kB / 0.6085 GB, free: 11.75 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1631/0.9618, allocations: 12.2 MB / 0.6204 GB, free: 140.7 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002505/0.9644, allocations: 1.082 MB / 0.6215 GB, free: 140.7 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005108/0.9649, allocations: 85.06 kB / 0.6216 GB, free: 140.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9664, allocations: 306.2 kB / 0.6218 GB, free: 140.7 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006555/0.9671, allocations: 340 kB / 0.6222 GB, free: 140.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/0.9673, allocations: 135.1 kB / 0.6223 GB, free: 140.7 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003251/0.9705, allocations: 2.577 MB / 0.6248 GB, free: 140.5 MB / 458.8 MB Notification: Performance of sort global known variables: time 2e-07/0.9705, allocations: 0 / 0.6248 GB, free: 140.5 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.007763/0.9783, allocations: 2.404 MB / 0.6272 GB, free: 140.3 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0165/0.9948, allocations: 12.92 MB / 0.6398 GB, free: 135.9 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0104/1.005, allocations: 8.988 MB / 0.6486 GB, free: 132.4 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.005, allocations: 3.938 kB / 0.6486 GB, free: 132.4 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005025/1.01, allocations: 4.162 MB / 0.6526 GB, free: 130.5 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/1.013, allocations: 0.7381 MB / 0.6533 GB, free: 130.2 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06657/1.08, allocations: 61.47 MB / 0.7134 GB, free: 73.06 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/1.085, allocations: 5.58 MB / 0.7188 GB, free: 67.46 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004933/1.09, allocations: 3.255 MB / 0.722 GB, free: 64.2 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003091/1.093, allocations: 3.047 MB / 0.725 GB, free: 61.15 MB / 458.8 MB Notification: Performance of SimCode: time 1.764e-06/1.093, allocations: 0 / 0.725 GB, free: 61.15 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2704/1.363, allocations: 127.3 MB / 0.8493 GB, free: 119.5 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.28, allocations: 7.812 kB / 0.8493 GB, free: 119.5 MB / 474.8 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 17.87726315110922]