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.001444/0.001444, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001452/0.001452, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.413/1.413, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.001836/0.001836, allocations: 67.89 kB / 378.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2524, allocations: 53.41 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008662/0.261, allocations: 6.693 MB / 438.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.266, allocations: 2.289 MB / 441 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009569/0.2669, allocations: 55.62 kB / 441 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.2679, allocations: 385.5 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2704, allocations: 0.8667 MB / 442.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008408/0.2713, allocations: 370.9 kB / 442.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004167/0.2754, allocations: 3.203 MB / 445.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.277, allocations: 1.099 MB / 446.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.2787, allocations: 1.332 MB / 448.3 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002297/0.281, allocations: 1.67 MB / 449.9 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.2815, allocations: 292 kB / 450.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009/0.2824, allocations: 431.9 kB / 450.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008383/0.2832, allocations: 0.8568 MB / 451.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.285, allocations: 1.47 MB / 453 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004733/0.2897, allocations: 4.13 MB / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2897, allocations: 0 / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2897, allocations: 3.844 kB / 457.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.403e-05/0.2898, allocations: 0 / 457.1 MB, free: 13.43 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.0086/0.2984, allocations: 3.486 MB / 460.6 MB, free: 9.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2984, allocations: 12.03 kB / 460.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.7e-05/0.2985, allocations: 60.78 kB / 460.7 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005035/0.299, allocations: 341.2 kB / 461 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.3033, allocations: 0.7524 MB / 461.7 MB, free: 8.727 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/0.307, allocations: 1.687 MB / 463.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.3072, allocations: 172.7 kB / 463.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004874/0.3076, allocations: 235.9 kB / 463.8 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006291/0.3139, allocations: 3.219 MB / 467 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.523e-05/0.314, allocations: 0 / 467 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.3142, allocations: 96 kB / 467.1 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.65e-05/0.3143, allocations: 79.3 kB / 467.2 MB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.3194, allocations: 2.874 MB / 470.1 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01652/0.336, allocations: 9.216 MB / 479.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004112/0.3401, allocations: 1.842 MB / 481.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/0.3413, allocations: 0.7669 MB / 481.9 MB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004367/0.3457, allocations: 2.249 MB / 484.2 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.3457, allocations: 46.83 kB / 484.2 MB, free: 1.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.347e-06/0.3457, allocations: 0 / 484.2 MB, free: 1.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009/0.3547, allocations: 4.143 MB / 488.4 MB, free: 13.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/0.3548, allocations: 111.2 kB / 488.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/0.3573, allocations: 1.629 MB / 490.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001747/0.3574, allocations: 45.7 kB / 490.1 MB, free: 11.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3584, allocations: 1.145 MB / 491.3 MB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.3589, allocations: 368.9 kB / 491.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004023/0.3593, allocations: 238.8 kB / 491.9 MB, free: 9.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3595, allocations: 361.9 kB / 492.2 MB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3607, allocations: 0.6388 MB / 492.9 MB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.3621, allocations: 1.008 MB / 493.9 MB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.3647, allocations: 1.705 MB / 495.6 MB, free: 5.891 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.3647, allocations: 4 kB / 495.6 MB, free: 5.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003639/0.3684, allocations: 1.961 MB / 497.5 MB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.3684, allocations: 8 kB / 497.6 MB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.3684, allocations: 12 kB / 497.6 MB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.3688, allocations: 126.1 kB / 497.7 MB, free: 3.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.3701, allocations: 335.5 kB / 498 MB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00327/0.3734, allocations: 3.223 MB / 0.4895 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.3745, allocations: 99.69 kB / 0.4896 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.3747, allocations: 59.98 kB / 0.4896 GB, free: 15.83 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.001381/0.376, allocations: 0.8289 MB / 0.4905 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.3764, allocations: 159 kB / 0.4906 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.379, allocations: 1.393 MB / 0.492 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.379, allocations: 12 kB / 0.492 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.379, allocations: 4 kB / 0.492 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.379, allocations: 7.984 kB / 0.492 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/0.383, allocations: 2.449 MB / 0.4944 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3831, allocations: 0 / 0.4944 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/0.3839, allocations: 187.8 kB / 0.4946 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006413/0.3845, allocations: 258.4 kB / 0.4948 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.207e-05/0.3846, allocations: 31.98 kB / 0.4948 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005987/0.3906, allocations: 5.936 MB / 0.5006 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3906, allocations: 4 kB / 0.5006 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/0.3948, allocations: 2.561 MB / 0.5031 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.3952, allocations: 182.8 kB / 0.5033 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.3954, allocations: 31.98 kB / 0.5033 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/0.3963, allocations: 91.91 kB / 0.5034 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.3965, allocations: 100.2 kB / 0.5035 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.265e-05/0.3966, allocations: 31.98 kB / 0.5036 GB, free: 1.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.3982, allocations: 1.128 MB / 0.5047 GB, free: 15.96 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3982, allocations: 0 / 0.5047 GB, free: 15.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001603/0.3998, allocations: 452 kB / 0.5051 GB, free: 15.52 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.004644/0.4045, allocations: 3.17 MB / 0.5082 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003076/0.4075, allocations: 1.674 MB / 0.5098 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4075, allocations: 0 / 0.5098 GB, free: 10.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4095, allocations: 1.153 MB / 0.5109 GB, free: 9.418 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4111, allocations: 281.8 kB / 0.5112 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/0.4385, allocations: 17.49 MB / 0.5283 GB, free: 7.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.4405, allocations: 2.113 MB / 0.5304 GB, free: 4.965 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001233/0.4417, allocations: 455.5 kB / 0.5308 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.4428, allocations: 0.8312 MB / 0.5316 GB, free: 3.688 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4428, allocations: 4 kB / 0.5316 GB, free: 3.684 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2664/0.7092, allocations: 39.64 MB / 0.5703 GB, free: 77.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.23, allocations: 4.062 kB / 0.5703 GB, free: 77.23 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: 20.415358006954193]