Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001777/0.001777, allocations: 215.1 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.91 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2503, allocations: 53.4 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009106/0.2595, allocations: 6.702 MB / 437.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004926/0.2644, allocations: 2.285 MB / 440.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001097/0.2655, allocations: 55.69 kB / 440.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.2667, allocations: 385.5 kB / 440.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.2694, allocations: 0.8701 MB / 441.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.2704, allocations: 366.1 kB / 441.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004339/0.2748, allocations: 3.209 MB / 445.1 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.2768, allocations: 1.094 MB / 446.1 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002145/0.2789, allocations: 1.332 MB / 447.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.2817, allocations: 1.662 MB / 449.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000748/0.2824, allocations: 296 kB / 449.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.2838, allocations: 439.8 kB / 449.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.285, allocations: 0.849 MB / 450.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002748/0.2878, allocations: 1.474 MB / 452.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.2933, allocations: 4.126 MB / 456.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2933, allocations: 0 / 456.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2933, allocations: 0 / 456.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001237/0.2935, allocations: 0 / 456.3 MB, free: 13.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.008632/0.3021, allocations: 3.482 MB / 459.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3021, allocations: 12.03 kB / 459.8 MB, free: 9.871 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005319/0.3027, allocations: 337.2 kB / 460.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00428/0.307, allocations: 0.7563 MB / 460.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.3105, allocations: 1.691 MB / 462.6 MB, free: 7.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.3106, allocations: 173 kB / 462.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.311, allocations: 235.9 kB / 463 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005819/0.3168, allocations: 3.215 MB / 466.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.478e-05/0.3168, allocations: 0 / 466.2 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3171, allocations: 100 kB / 466.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.3172, allocations: 79.25 kB / 466.4 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.3224, allocations: 2.874 MB / 469.2 MB, free: 316 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01701/0.3394, allocations: 9.208 MB / 478.4 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004025/0.3434, allocations: 1.859 MB / 480.3 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.3447, allocations: 0.7625 MB / 481.1 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004249/0.349, allocations: 2.241 MB / 483.3 MB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/0.349, allocations: 54.83 kB / 483.4 MB, free: 1.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.605e-06/0.349, allocations: 0 / 483.4 MB, free: 1.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008736/0.3577, allocations: 4.142 MB / 487.5 MB, free: 13.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.3578, allocations: 111.2 kB / 487.6 MB, free: 13.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/0.3604, allocations: 1.625 MB / 489.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.3605, allocations: 41.7 kB / 489.3 MB, free: 11.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009641/0.3615, allocations: 1.149 MB / 490.4 MB, free: 10.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.3619, allocations: 372.9 kB / 490.8 MB, free: 10.2 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004191/0.3623, allocations: 238.8 kB / 491 MB, free: 9.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.3625, allocations: 361.9 kB / 491.4 MB, free: 9.598 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3636, allocations: 0.6349 MB / 492 MB, free: 8.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.3651, allocations: 1.004 MB / 493 MB, free: 7.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.3677, allocations: 1.712 MB / 494.7 MB, free: 5.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3677, allocations: 4 kB / 494.7 MB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003557/0.3713, allocations: 1.958 MB / 496.7 MB, free: 3.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3713, allocations: 8 kB / 496.7 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/0.3713, allocations: 12 kB / 496.7 MB, free: 3.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/0.3717, allocations: 125.6 kB / 496.8 MB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/0.373, allocations: 339.7 kB / 497.2 MB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003258/0.3763, allocations: 3.223 MB / 0.4887 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3774, allocations: 95.86 kB / 0.4888 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.3775, allocations: 52 kB / 0.4888 GB, free: 15.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001543/0.3791, allocations: 0.8369 MB / 0.4896 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/0.3795, allocations: 162.8 kB / 0.4898 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002786/0.3823, allocations: 1.393 MB / 0.4911 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.3823, allocations: 11.98 kB / 0.4911 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.3823, allocations: 4 kB / 0.4912 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.3823, allocations: 7.984 kB / 0.4912 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/0.3873, allocations: 2.445 MB / 0.4935 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3873, allocations: 288 / 0.4935 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.3881, allocations: 183.8 kB / 0.4937 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006858/0.3888, allocations: 261 kB / 0.494 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.652e-05/0.3889, allocations: 35.92 kB / 0.494 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006602/0.3955, allocations: 5.941 MB / 0.4998 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3955, allocations: 0 / 0.4998 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004597/0.4001, allocations: 2.565 MB / 0.5023 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005814/0.4007, allocations: 186.8 kB / 0.5025 GB, free: 1.375 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003372/0.401, allocations: 24 kB / 0.5025 GB, free: 1.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009707/0.402, allocations: 95.89 kB / 0.5026 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/0.4022, allocations: 96.25 kB / 0.5027 GB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.826e-05/0.4023, allocations: 31.98 kB / 0.5027 GB, free: 1.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.4043, allocations: 1.128 MB / 0.5038 GB, free: 4 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4043, allocations: 4 kB / 0.5038 GB, free: 0 / 414.1 MB Notification: Performance of remove unused functions: time 0.001883/0.4062, allocations: 444 kB / 0.5043 GB, free: 15.56 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005007/0.4112, allocations: 3.174 MB / 0.5074 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003165/0.4144, allocations: 1.671 MB / 0.509 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4144, allocations: 4.125 kB / 0.509 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.4164, allocations: 1.145 MB / 0.5101 GB, free: 9.461 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/0.4182, allocations: 285.8 kB / 0.5104 GB, free: 9.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02987/0.448, allocations: 17.49 MB / 0.5275 GB, free: 7.148 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.4508, allocations: 2.105 MB / 0.5295 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001267/0.452, allocations: 459.5 kB / 0.53 GB, free: 4.555 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.4532, allocations: 0.8351 MB / 0.5308 GB, free: 3.723 MB / 446.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4532, allocations: 0 / 0.5308 GB, free: 3.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.283/0.7363, allocations: 39.61 MB / 0.5695 GB, free: 77.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.11, allocations: 3.75 kB / 0.5695 GB, free: 77.22 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: 19.062739023938775]