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.001415/0.001415, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001581/0.001581, allocations: 212 kB / 24.47 MB, free: 3.547 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.473/1.473, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.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.003233/0.003233, allocations: 55.86 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2901, allocations: 49.16 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005415/0.2955, allocations: 4.156 MB / 400.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.2987, allocations: 1.654 MB / 402.2 MB, free: 5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.2994, allocations: 29.25 kB / 402.2 MB, free: 4.988 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.3002, allocations: 261.9 kB / 402.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.3021, allocations: 0.6507 MB / 403.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.3027, allocations: 229.9 kB / 403.3 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.3052, allocations: 1.888 MB / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.3062, allocations: 0.6485 MB / 405.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.3077, allocations: 0.8152 MB / 406.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.3098, allocations: 1.009 MB / 407.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005079/0.3103, allocations: 186.8 kB / 407.9 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3113, allocations: 298.9 kB / 408.2 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.3119, allocations: 0.539 MB / 408.7 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008959/0.3127, allocations: 0.727 MB / 409.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.3155, allocations: 2.594 MB / 412 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3155, allocations: 4 kB / 412 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3155, allocations: 0 / 412 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.3155, allocations: 1.344 kB / 412 MB, free: 15.95 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.004992/0.3205, allocations: 2.141 MB / 414.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.3205, allocations: 13.45 kB / 414.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.3208, allocations: 208 kB / 414.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.3226, allocations: 378.2 kB / 414.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001941/0.3246, allocations: 0.9983 MB / 415.7 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/0.3246, allocations: 100.5 kB / 415.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002323/0.3249, allocations: 148.3 kB / 416 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.3282, allocations: 2.036 MB / 418 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.3283, allocations: 0 / 418 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.3284, allocations: 60.23 kB / 418.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.787e-05/0.3285, allocations: 44.94 kB / 418.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002995/0.3314, allocations: 1.683 MB / 419.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009687/0.3411, allocations: 5.039 MB / 424.8 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.3437, allocations: 1.044 MB / 425.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007943/0.3444, allocations: 483.2 kB / 426.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002452/0.3469, allocations: 1.233 MB / 427.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/0.3469, allocations: 42.69 kB / 427.6 MB, free: 3.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.344e-06/0.347, allocations: 4 kB / 427.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.00338/0.3503, allocations: 1.328 MB / 429 MB, free: 2.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.3504, allocations: 93.03 kB / 429.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.3521, allocations: 1.028 MB / 430.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.17e-05/0.3522, allocations: 37.98 kB / 430.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.3529, allocations: 0.6948 MB / 430.8 MB, free: 148 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.3532, allocations: 202.5 kB / 431 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.3534, allocations: 130.2 kB / 431.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3536, allocations: 334 kB / 431.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000698/0.3543, allocations: 361 kB / 431.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/0.3551, allocations: 0.517 MB / 432.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.3565, allocations: 0.871 MB / 433.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.3565, allocations: 4 kB / 433.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002189/0.3587, allocations: 1.013 MB / 434.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3587, allocations: 8 kB / 434.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3587, allocations: 7.75 kB / 434.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.092e-05/0.3588, allocations: 8 kB / 434.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007884/0.3596, allocations: 184.1 kB / 434.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/0.3596, allocations: 15.92 kB / 434.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.3603, allocations: 83.42 kB / 434.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.3603, allocations: 35.98 kB / 434.6 MB, free: 12.24 MB / 350.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.001051/0.3614, allocations: 0.5187 MB / 435.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.3616, allocations: 99.38 kB / 435.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.363, allocations: 0.6773 MB / 435.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.3631, allocations: 7.984 kB / 435.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3631, allocations: 7.938 kB / 435.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3631, allocations: 4 kB / 435.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002966/0.366, allocations: 1.535 MB / 437.4 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.366, allocations: 3.938 kB / 437.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.3665, allocations: 95.88 kB / 437.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004653/0.367, allocations: 153.8 kB / 437.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.367, allocations: 23.98 kB / 437.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003705/0.3707, allocations: 2.703 MB / 440.4 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.3707, allocations: 3.938 kB / 440.4 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002746/0.3735, allocations: 1.478 MB / 441.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005017/0.374, allocations: 119.3 kB / 442 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.3741, allocations: 23.92 kB / 442 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.3747, allocations: 59.94 kB / 442.1 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.3748, allocations: 55.89 kB / 442.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.3749, allocations: 16 kB / 442.1 MB, free: 4.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.3761, allocations: 0.7332 MB / 442.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3761, allocations: 0 / 442.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001382/0.3775, allocations: 358.9 kB / 443.2 MB, free: 3.355 MB / 350.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.003332/0.3808, allocations: 2.052 MB / 445.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001755/0.3825, allocations: 0.756 MB / 446 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3825, allocations: 0 / 446 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/0.3838, allocations: 0.5796 MB / 446.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.3851, allocations: 183.3 kB / 446.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.404, allocations: 10.54 MB / 457.3 MB, free: 4.906 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.4051, allocations: 0.905 MB / 458.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007446/0.4058, allocations: 238.7 kB / 458.5 MB, free: 3.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/0.4065, allocations: 483.3 kB / 458.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4065, allocations: 0 / 458.9 MB, free: 3.258 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06606/0.4725, allocations: 24.54 MB / 483.5 MB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.25, allocations: 7.797 kB / 483.5 MB, free: 10.62 MB / 398.1 MB " [Timeout remaining time 647] (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: 16.238318379037082]