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.0007868/0.0007868, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.003029/0.003029, allocations: 164.6 kB / 24.7 MB, free: 9.43 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.8319/0.8319, allocations: 158.6 MB / 186.5 MB, free: 3.039 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.292e-06/1.292e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752e-05/1.882e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1284/0.1284, allocations: 4.168 MB / 302.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1304, allocations: 1.644 MB / 304.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.1307, allocations: 28.16 kB / 304.3 MB, free: 13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004429/0.1311, allocations: 270.2 kB / 304.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.1321, allocations: 0.6648 MB / 305.2 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.1324, allocations: 232.9 kB / 305.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001308/0.1337, allocations: 1.942 MB / 307.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005925/0.1343, allocations: 0.6451 MB / 308 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.1352, allocations: 1.147 MB / 309.2 MB, free: 10.67 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008349/0.136, allocations: 0.9178 MB / 310.1 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001801/0.1362, allocations: 186.2 kB / 310.3 MB, free: 10.31 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003998/0.1366, allocations: 307.1 kB / 310.6 MB, free: 10.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.1369, allocations: 0.5506 MB / 311.1 MB, free: 9.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004505/0.1373, allocations: 0.6194 MB / 311.7 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1392, allocations: 2.617 MB / 314.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1392, allocations: 0 / 314.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1392, allocations: 0 / 314.3 MB, free: 8.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.1392, allocations: 1.219 kB / 314.3 MB, free: 8.723 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.002738/0.142, allocations: 2.124 MB / 316.5 MB, free: 7.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.142, allocations: 13.2 kB / 316.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002007/0.1422, allocations: 209 kB / 316.7 MB, free: 7.418 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009087/0.1431, allocations: 372.1 kB / 317.1 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.1442, allocations: 1.008 MB / 318.1 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.1442, allocations: 100.7 kB / 318.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.1444, allocations: 136.9 kB / 318.3 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.1464, allocations: 2.038 MB / 320.3 MB, free: 5.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1464, allocations: 8.938 kB / 320.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.1465, allocations: 55.09 kB / 320.4 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.1466, allocations: 45 kB / 320.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.1483, allocations: 1.68 MB / 322.1 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.1531, allocations: 5.036 MB / 327.2 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.1546, allocations: 1.053 MB / 328.2 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005055/0.1551, allocations: 473.5 kB / 328.7 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.1565, allocations: 1.232 MB / 329.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.1566, allocations: 43.19 kB / 329.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.084e-06/0.1566, allocations: 288 / 329.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.001938/0.1585, allocations: 1.332 MB / 331.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1586, allocations: 85.11 kB / 331.4 MB, free: 13.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.1594, allocations: 1.04 MB / 332.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.1594, allocations: 33.7 kB / 332.4 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.1598, allocations: 0.6987 MB / 333.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.1599, allocations: 194.3 kB / 333.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.16, allocations: 126.3 kB / 333.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.533e-05/0.1601, allocations: 333.9 kB / 333.8 MB, free: 11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.1605, allocations: 365 kB / 334.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004858/0.1609, allocations: 0.5092 MB / 334.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/0.1618, allocations: 0.8789 MB / 335.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.1618, allocations: 3.438 kB / 335.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009718/0.1628, allocations: 1.009 MB / 336.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1628, allocations: 8 kB / 336.5 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1628, allocations: 8 kB / 336.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.1628, allocations: 8 kB / 336.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.1632, allocations: 184.2 kB / 336.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1632, allocations: 15.92 kB / 336.7 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.1635, allocations: 91.47 kB / 336.8 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1635, allocations: 24 kB / 336.9 MB, free: 7.766 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.0005692/0.1641, allocations: 0.5304 MB / 337.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.1642, allocations: 91.44 kB / 337.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/0.1649, allocations: 0.6774 MB / 338.2 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1649, allocations: 4 kB / 338.2 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1649, allocations: 4 kB / 338.2 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1649, allocations: 4 kB / 338.2 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.1664, allocations: 1.531 MB / 339.7 MB, free: 4.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1664, allocations: 4 kB / 339.7 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.1666, allocations: 91.88 kB / 339.8 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002787/0.1669, allocations: 155.7 kB / 339.9 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.1669, allocations: 19.98 kB / 340 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.1691, allocations: 2.723 MB / 342.7 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1691, allocations: 0 / 342.7 MB, free: 1.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.1705, allocations: 1.476 MB / 344.2 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.1706, allocations: 119.3 kB / 344.3 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.71e-05/0.1707, allocations: 12 kB / 344.3 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002761/0.171, allocations: 60.81 kB / 344.3 MB, free: 56 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1711, allocations: 63.81 kB / 344.4 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1711, allocations: 19.94 kB / 344.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000596/0.1717, allocations: 0.7293 MB / 345.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1717, allocations: 0 / 345.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.1723, allocations: 366.8 kB / 345.5 MB, free: 14.89 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.001666/0.174, allocations: 2.058 MB / 347.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.175, allocations: 0.7449 MB / 348.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1751, allocations: 7.938 kB / 348.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.1757, allocations: 0.5802 MB / 348.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.1763, allocations: 176.8 kB / 349.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.1865, allocations: 10.51 MB / 359.6 MB, free: 480 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.1871, allocations: 0.9019 MB / 360.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003697/0.1875, allocations: 230.7 kB / 360.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.1879, allocations: 484.3 kB / 361.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.011e-06/0.1879, allocations: 4 kB / 361.2 MB, free: 14.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.2208, allocations: 24.64 MB / 385.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.507/7.728, allocations: 19.97 kB / 385.9 MB, free: 6.094 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 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.csv","/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] "Error: Could not read variable converter_m.singlePhaseElectroMagneticConverter[1].Phi.re in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv. Warning: Get data of variable converter_m.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv failed! Error: Could not read variable converter_m.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv. Warning: Get data of variable converter_m.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.602420864626765]