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.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.0008467/0.0008467, allocations: 83.64 kB / 21.43 MB, free: 3.133 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.003493/0.003493, allocations: 162.5 kB / 24.69 MB, free: 9.441 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.8087/0.8087, allocations: 158.6 MB / 186.5 MB, free: 3.043 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.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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131e-05/1.257e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.123/0.123, allocations: 4.168 MB / 302.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1253, allocations: 1.646 MB / 304.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.1256, allocations: 28.19 kB / 304.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.1261, allocations: 267.7 kB / 304.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.1273, allocations: 0.6609 MB / 305.2 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1276, allocations: 241.3 kB / 305.4 MB, free: 12.44 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.1289, allocations: 1.937 MB / 307.4 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000581/0.1295, allocations: 0.6507 MB / 308 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008272/0.1303, allocations: 1.142 MB / 309.2 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.1311, allocations: 0.9171 MB / 310.1 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.1313, allocations: 185.3 kB / 310.3 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.1317, allocations: 304.6 kB / 310.6 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.132, allocations: 0.5563 MB / 311.1 MB, free: 9.926 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.1325, allocations: 0.6137 MB / 311.7 MB, free: 9.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.1343, allocations: 2.616 MB / 314.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1343, allocations: 0.75 kB / 314.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1343, allocations: 1.438 kB / 314.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.657e-05/0.1343, allocations: 0 / 314.3 MB, free: 8.703 MB / 282.7 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.003008/0.1373, allocations: 2.124 MB / 316.5 MB, free: 7.531 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1374, allocations: 13.17 kB / 316.5 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002088/0.1376, allocations: 210.1 kB / 316.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.1386, allocations: 371.2 kB / 317 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.1397, allocations: 1.005 MB / 318.1 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.1398, allocations: 105.9 kB / 318.2 MB, free: 6.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.14, allocations: 136.3 kB / 318.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.1421, allocations: 2.042 MB / 320.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.1421, allocations: 3.938 kB / 320.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/0.1422, allocations: 55.81 kB / 320.4 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.1423, allocations: 44.72 kB / 320.4 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1439, allocations: 1.68 MB / 322.1 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.1483, allocations: 5.034 MB / 327.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.1496, allocations: 1.051 MB / 328.2 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004236/0.15, allocations: 472.4 kB / 328.7 MB, free: 52 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/0.1514, allocations: 1.235 MB / 329.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1514, allocations: 51.17 kB / 329.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 1.673e-06/0.1514, allocations: 288 / 329.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.001833/0.1533, allocations: 1.33 MB / 331.3 MB, free: 13.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1533, allocations: 81.11 kB / 331.4 MB, free: 13.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.1543, allocations: 1.044 MB / 332.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1543, allocations: 33.7 kB / 332.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.1546, allocations: 0.6987 MB / 333.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.502e-05/0.1547, allocations: 194.3 kB / 333.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1549, allocations: 126.3 kB / 333.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.1549, allocations: 333.9 kB / 333.8 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.1553, allocations: 361 kB / 334.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.1557, allocations: 0.5131 MB / 334.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007916/0.1565, allocations: 0.8712 MB / 335.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1565, allocations: 0 / 335.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009887/0.1575, allocations: 1.021 MB / 336.5 MB, free: 8.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1576, allocations: 8 kB / 336.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.1576, allocations: 8 kB / 336.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.1576, allocations: 8 kB / 336.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.158, allocations: 180.3 kB / 336.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.158, allocations: 19.86 kB / 336.7 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1582, allocations: 87.48 kB / 336.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.1583, allocations: 27.98 kB / 336.9 MB, free: 7.738 MB / 298.7 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.0004652/0.1587, allocations: 0.5266 MB / 337.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.1588, allocations: 95.38 kB / 337.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007834/0.1596, allocations: 0.6724 MB / 338.2 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1596, allocations: 7.984 kB / 338.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1596, allocations: 8 kB / 338.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1596, allocations: 0 / 338.2 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.1611, allocations: 1.531 MB / 339.7 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1611, allocations: 4 kB / 339.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.1614, allocations: 91.88 kB / 339.8 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003056/0.1617, allocations: 155.7 kB / 339.9 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.1617, allocations: 19.98 kB / 340 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.1639, allocations: 2.719 MB / 342.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1639, allocations: 0 / 342.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.1653, allocations: 1.476 MB / 344.2 MB, free: 228 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.1655, allocations: 119.3 kB / 344.3 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.1655, allocations: 15.98 kB / 344.3 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1658, allocations: 62.83 kB / 344.4 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1659, allocations: 59.83 kB / 344.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.166, allocations: 16 kB / 344.4 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006135/0.1666, allocations: 0.7332 MB / 345.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1666, allocations: 0 / 345.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006838/0.1673, allocations: 366.8 kB / 345.5 MB, free: 14.87 MB / 314.7 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.001709/0.169, allocations: 2.061 MB / 347.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007997/0.1698, allocations: 0.7449 MB / 348.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1698, allocations: 7.938 kB / 348.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.1704, allocations: 0.5763 MB / 348.9 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.171, allocations: 180.6 kB / 349.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009864/0.1809, allocations: 10.51 MB / 359.6 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006019/0.1815, allocations: 0.9019 MB / 360.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.1819, allocations: 234.7 kB / 360.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/0.1823, allocations: 484.3 kB / 361.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1823, allocations: 4 kB / 361.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0349/0.2172, allocations: 24.63 MB / 385.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.006, allocations: 16.03 kB / 385.8 MB, free: 6.078 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.111541829071939]