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.001636/0.001636, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001836/0.001836, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.457/1.457, allocations: 230.4 MB / 254.7 MB, free: 15.03 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1082, allocations: 53.38 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2173/0.3256, allocations: 6.683 MB / 433.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003968/0.3295, allocations: 2.275 MB / 436 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007974/0.3303, allocations: 55.88 kB / 436.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008006/0.3311, allocations: 386.4 kB / 436.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.3332, allocations: 0.8524 MB / 437.3 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.3341, allocations: 358 kB / 437.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003759/0.3378, allocations: 3.201 MB / 440.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.3396, allocations: 1.498 MB / 442.4 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.3416, allocations: 1.342 MB / 443.7 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.344, allocations: 1.647 MB / 445.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006556/0.3446, allocations: 295.2 kB / 445.6 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.3459, allocations: 430.4 kB / 446.1 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008156/0.3467, allocations: 0.8608 MB / 446.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.3485, allocations: 1.469 MB / 448.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0049/0.3534, allocations: 4.127 MB / 452.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3534, allocations: 0 / 452.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3534, allocations: 0 / 452.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001455/0.3536, allocations: 0 / 452.5 MB, free: 15.91 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.01012/0.3637, allocations: 3.561 MB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3638, allocations: 9.438 kB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.71e-05/0.3639, allocations: 64 kB / 456.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006222/0.3645, allocations: 337 kB / 456.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00453/0.369, allocations: 0.7549 MB / 457.2 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/0.3726, allocations: 1.736 MB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.3727, allocations: 173.7 kB / 459.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.3732, allocations: 234.6 kB / 459.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006149/0.3793, allocations: 3.218 MB / 462.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.3794, allocations: 4 kB / 462.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002635/0.3796, allocations: 93 kB / 462.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.675e-05/0.3797, allocations: 79.78 kB / 462.8 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005343/0.3851, allocations: 2.874 MB / 465.6 MB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/0.4021, allocations: 9.35 MB / 475 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005603/0.4077, allocations: 4.323 MB / 479.3 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001317/0.4091, allocations: 0.7635 MB / 480.1 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004924/0.414, allocations: 3.148 MB / 483.2 MB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.414, allocations: 50.83 kB / 483.3 MB, free: 6.957 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.645e-06/0.414, allocations: 4 kB / 483.3 MB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008915/0.4229, allocations: 4.285 MB / 487.6 MB, free: 2.578 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.423, allocations: 115.2 kB / 487.7 MB, free: 2.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002476/0.4255, allocations: 1.625 MB / 489.3 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.4256, allocations: 45.7 kB / 489.3 MB, free: 0.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009806/0.4266, allocations: 1.149 MB / 490.5 MB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003727/0.427, allocations: 372.9 kB / 490.8 MB, free: 15.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/0.4274, allocations: 242.8 kB / 491.1 MB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4276, allocations: 357.9 kB / 491.4 MB, free: 14.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4287, allocations: 0.631 MB / 492.1 MB, free: 13.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.4302, allocations: 1.015 MB / 493.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/0.4329, allocations: 1.703 MB / 494.8 MB, free: 10.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.4329, allocations: 4 kB / 494.8 MB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003753/0.4366, allocations: 1.949 MB / 496.7 MB, free: 8.992 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4367, allocations: 15.98 kB / 496.8 MB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.4367, allocations: 12 kB / 496.8 MB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.4371, allocations: 123.2 kB / 496.9 MB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.4384, allocations: 335.5 kB / 497.2 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/0.4419, allocations: 3.433 MB / 0.4889 GB, free: 4.805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4432, allocations: 99.3 kB / 0.489 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/0.4433, allocations: 56 kB / 0.4891 GB, free: 4.656 MB / 398.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.001463/0.4448, allocations: 0.8409 MB / 0.4899 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/0.4451, allocations: 159.3 kB / 0.49 GB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/0.448, allocations: 1.386 MB / 0.4914 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.448, allocations: 11.98 kB / 0.4914 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.448, allocations: 11.94 kB / 0.4914 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.448, allocations: 3.984 kB / 0.4914 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00427/0.4523, allocations: 2.463 MB / 0.4938 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4523, allocations: 0 / 0.4938 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008839/0.4531, allocations: 183.8 kB / 0.494 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007156/0.4539, allocations: 258.4 kB / 0.4942 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.619e-05/0.4539, allocations: 31.98 kB / 0.4943 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006715/0.4607, allocations: 6.257 MB / 0.5004 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4607, allocations: 0 / 0.5004 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004566/0.4652, allocations: 2.554 MB / 0.5029 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.4658, allocations: 264 kB / 0.5031 GB, free: 5.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.466, allocations: 24 kB / 0.5031 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009288/0.467, allocations: 91.89 kB / 0.5032 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002523/0.4672, allocations: 104.1 kB / 0.5033 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/0.4673, allocations: 28.11 kB / 0.5034 GB, free: 5.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001787/0.4691, allocations: 1.135 MB / 0.5045 GB, free: 4.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4691, allocations: 0 / 0.5045 GB, free: 4.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001717/0.4708, allocations: 451.9 kB / 0.5049 GB, free: 3.848 MB / 414.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.004753/0.4756, allocations: 3.179 MB / 0.508 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003122/0.4787, allocations: 1.661 MB / 0.5096 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4787, allocations: 0.5 kB / 0.5096 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002035/0.4807, allocations: 1.153 MB / 0.5108 GB, free: 13.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.4827, allocations: 282.5 kB / 0.511 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03071/0.5134, allocations: 17.45 MB / 0.5281 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/0.5155, allocations: 2.109 MB / 0.5301 GB, free: 9.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001189/0.5166, allocations: 459.5 kB / 0.5306 GB, free: 8.895 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/0.5178, allocations: 0.8378 MB / 0.5314 GB, free: 8.059 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5178, allocations: 0 / 0.5314 GB, free: 8.059 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/0.6228, allocations: 38.71 MB / 0.5692 GB, free: 1.688 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.55, allocations: 10.44 kB / 0.5692 GB, free: 1.68 MB / 478.1 MB " [Timeout remaining time 646] (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.116852253035177]