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.001674/0.001674, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 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.001923/0.001923, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.55/1.55, 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 55.91 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1039, allocations: 49.12 MB / 391.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006809/0.1107, allocations: 4.64 MB / 396 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.1142, allocations: 1.756 MB / 397.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.1146, allocations: 27.81 kB / 397.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006432/0.1152, allocations: 262.3 kB / 398.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001613/0.1169, allocations: 0.6647 MB / 398.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005318/0.1174, allocations: 235.5 kB / 399 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002467/0.1199, allocations: 1.895 MB / 400.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.1211, allocations: 0.9133 MB / 401.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.1223, allocations: 0.8021 MB / 402.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1236, allocations: 1 MB / 403.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002471/0.1238, allocations: 188 kB / 403.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006433/0.1245, allocations: 307.9 kB / 404.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004909/0.125, allocations: 0.5375 MB / 404.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.126, allocations: 0.8982 MB / 405.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003328/0.1293, allocations: 2.577 MB / 408.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1293, allocations: 0 / 408.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1293, allocations: 0 / 408.1 MB, free: 7.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.449e-05/0.1294, allocations: 0 / 408.1 MB, free: 7.934 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.00556/0.1349, allocations: 2.216 MB / 410.3 MB, free: 5.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.135, allocations: 12.03 kB / 410.3 MB, free: 5.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003156/0.1353, allocations: 210.8 kB / 410.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.1371, allocations: 375.5 kB / 410.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.1389, allocations: 1.053 MB / 411.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.139, allocations: 99.05 kB / 412 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.1392, allocations: 139.9 kB / 412.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003175/0.1423, allocations: 1.882 MB / 414.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.1424, allocations: 4 kB / 414.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.1425, allocations: 56 kB / 414.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.1426, allocations: 46 kB / 414.2 MB, free: 1.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002935/0.1455, allocations: 1.684 MB / 415.8 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009345/0.1549, allocations: 5.545 MB / 421.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/0.1584, allocations: 2.867 MB / 424.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007876/0.1592, allocations: 471.3 kB / 424.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002555/0.1617, allocations: 1.533 MB / 426.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.1617, allocations: 46.69 kB / 426.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.1618, allocations: 0 / 426.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003384/0.1651, allocations: 1.396 MB / 427.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1652, allocations: 85.05 kB / 427.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.1666, allocations: 1.036 MB / 428.8 MB, free: 2.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.1667, allocations: 37.7 kB / 428.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.1672, allocations: 0.6986 MB / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.1674, allocations: 190.4 kB / 429.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.1676, allocations: 134.3 kB / 429.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1678, allocations: 326 kB / 430.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/0.1684, allocations: 365 kB / 430.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.1692, allocations: 0.5131 MB / 431 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.1706, allocations: 0.8791 MB / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1706, allocations: 0 / 431.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001823/0.1724, allocations: 1.01 MB / 432.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.1724, allocations: 15.97 kB / 433 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1725, allocations: 7.938 kB / 433 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.713e-05/0.1725, allocations: 8 kB / 433 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/0.1732, allocations: 179.8 kB / 433.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.1733, allocations: 11.94 kB / 433.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005644/0.1738, allocations: 91.47 kB / 433.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/0.1739, allocations: 28 kB / 433.3 MB, free: 13.62 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.0007806/0.1747, allocations: 0.5286 MB / 433.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.1749, allocations: 91.44 kB / 433.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/0.1762, allocations: 0.6824 MB / 434.6 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1762, allocations: 8 kB / 434.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1763, allocations: 3.938 kB / 434.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.1763, allocations: 7.984 kB / 434.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.1789, allocations: 1.656 MB / 436.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.1789, allocations: 3.984 kB / 436.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004764/0.1794, allocations: 99.81 kB / 436.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.1799, allocations: 153.8 kB / 436.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.042e-05/0.1799, allocations: 19.98 kB / 436.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0034/0.1833, allocations: 2.845 MB / 439.4 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1833, allocations: 3.938 kB / 439.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002432/0.1857, allocations: 1.465 MB / 440.8 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.1861, allocations: 200.4 kB / 441 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1862, allocations: 16 kB / 441 MB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.1867, allocations: 63.86 kB / 441.1 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.1869, allocations: 51.92 kB / 441.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.1869, allocations: 16 kB / 441.2 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001134/0.1881, allocations: 0.7409 MB / 441.9 MB, free: 4.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1881, allocations: 0 / 441.9 MB, free: 4.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001185/0.1893, allocations: 362.9 kB / 442.3 MB, free: 4.348 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.002917/0.1922, allocations: 2.049 MB / 444.3 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.1937, allocations: 0.764 MB / 445.1 MB, free: 1.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.1937, allocations: 5.125 kB / 445.1 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.1948, allocations: 0.5746 MB / 445.7 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.1959, allocations: 175.3 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.01601/0.2119, allocations: 10.55 MB / 456.4 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/0.2132, allocations: 1.495 MB / 457.9 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006626/0.2139, allocations: 238.7 kB / 458.1 MB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006131/0.2145, allocations: 479.3 kB / 458.6 MB, free: 3.656 MB / 382.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2145, allocations: 4 kB / 458.6 MB, free: 3.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/0.4489, allocations: 23.22 MB / 481.8 MB, free: 59.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.71, allocations: 11.73 kB / 481.8 MB, free: 59.02 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 & 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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: 14.768525767998653]