Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 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 1.544/1.544, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.1 MB " [Timeout remaining time 178] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 55.91 kB / 342.2 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09514, allocations: 49.11 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006173/0.1013, allocations: 4.636 MB / 396 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003726/0.105, allocations: 1.768 MB / 397.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006322/0.1057, allocations: 19.94 kB / 397.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000746/0.1064, allocations: 262.3 kB / 398 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.1083, allocations: 0.7036 MB / 398.7 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005468/0.1088, allocations: 239.4 kB / 399 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.1114, allocations: 1.891 MB / 400.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.1126, allocations: 0.9133 MB / 401.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.1137, allocations: 0.7865 MB / 402.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1151, allocations: 1 MB / 403.6 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002587/0.1153, allocations: 192 kB / 403.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000646/0.116, allocations: 319.7 kB / 404.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.1165, allocations: 0.5336 MB / 404.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.1176, allocations: 0.8905 MB / 405.5 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.1207, allocations: 2.573 MB / 408.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1207, allocations: 0 / 408.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1207, allocations: 0 / 408.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.436e-05/0.1208, allocations: 0 / 408.1 MB, free: 7.945 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005308/0.1261, allocations: 2.22 MB / 410.3 MB, free: 5.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1261, allocations: 8.031 kB / 410.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002679/0.1264, allocations: 206.8 kB / 410.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.1281, allocations: 379.5 kB / 410.9 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/0.1304, allocations: 1.053 MB / 411.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.1305, allocations: 99.05 kB / 412 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.1307, allocations: 135.9 kB / 412.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/0.1339, allocations: 1.886 MB / 414 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.1339, allocations: 0 / 414 MB, free: 1.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.1341, allocations: 56 kB / 414.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/0.1341, allocations: 49.98 kB / 414.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.137, allocations: 1.68 MB / 415.8 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009297/0.1463, allocations: 5.545 MB / 421.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.1494, allocations: 2.859 MB / 424.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007216/0.1502, allocations: 471.3 kB / 424.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002569/0.1527, allocations: 1.536 MB / 426.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.561e-05/0.1528, allocations: 46.69 kB / 426.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.345e-06/0.1528, allocations: 0 / 426.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003109/0.1559, allocations: 1.4 MB / 427.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.1559, allocations: 93.03 kB / 427.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.1573, allocations: 1.024 MB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.1574, allocations: 37.7 kB / 428.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000563/0.158, allocations: 0.6986 MB / 429.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.1581, allocations: 198.4 kB / 429.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.1583, allocations: 122.6 kB / 429.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1585, allocations: 334 kB / 430.2 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/0.1591, allocations: 365 kB / 430.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.1598, allocations: 0.517 MB / 431 MB, free: 15.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.1611, allocations: 0.8788 MB / 431.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1611, allocations: 0 / 431.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001708/0.1629, allocations: 1.009 MB / 432.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1629, allocations: 9.656 kB / 432.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.1629, allocations: 7.938 kB / 432.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.1629, allocations: 12 kB / 432.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007914/0.1637, allocations: 179.7 kB / 433.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.577e-05/0.1637, allocations: 11.98 kB / 433.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.1642, allocations: 87.48 kB / 433.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.1643, allocations: 27.98 kB / 433.2 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007871/0.1651, allocations: 0.5363 MB / 433.8 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.1652, allocations: 91.44 kB / 433.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.1665, allocations: 0.6824 MB / 434.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1665, allocations: 8 kB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.1665, allocations: 3.938 kB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1665, allocations: 4 kB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00278/0.1693, allocations: 1.664 MB / 436.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1693, allocations: 0 / 436.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004521/0.1697, allocations: 95.81 kB / 436.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004386/0.1702, allocations: 148.6 kB / 436.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/0.1702, allocations: 28.08 kB / 436.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003405/0.1736, allocations: 2.845 MB / 439.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.1736, allocations: 0 / 439.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.176, allocations: 1.473 MB / 440.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003376/0.1764, allocations: 196.4 kB / 441 MB, free: 5.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.1765, allocations: 27.92 kB / 441 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005196/0.177, allocations: 59.88 kB / 441.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1771, allocations: 51.92 kB / 441.1 MB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.1772, allocations: 19.98 kB / 441.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.1782, allocations: 0.7293 MB / 441.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1782, allocations: 4 kB / 441.9 MB, free: 4.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001016/0.1792, allocations: 362.9 kB / 442.3 MB, free: 4.355 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002653/0.1819, allocations: 2.053 MB / 444.3 MB, free: 2.258 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1832, allocations: 0.7601 MB / 445.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1832, allocations: 0 / 445.1 MB, free: 1.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.1843, allocations: 0.5758 MB / 445.6 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.1852, allocations: 187.6 kB / 445.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.2004, allocations: 10.54 MB / 456.4 MB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.2016, allocations: 1.491 MB / 457.9 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006451/0.2023, allocations: 234.7 kB / 458.1 MB, free: 4.137 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.2029, allocations: 487.3 kB / 458.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.2029, allocations: 0 / 458.6 MB, free: 3.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2258/0.4287, allocations: 23.23 MB / 481.8 MB, free: 57.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12, allocations: 3.797 kB / 481.8 MB, free: 57.7 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.753859491087496]