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.001337/0.001337, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.001422/0.001422, allocations: 209.3 kB / 24.51 MB, free: 3.941 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.468/1.468, allocations: 230.5 MB / 258.2 MB, free: 7.828 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.001855/0.001855, allocations: 67.89 kB / 378.5 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2678, allocations: 53.4 MB / 431.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008025/0.2758, allocations: 5.887 MB / 437.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00434/0.2802, allocations: 2.16 MB / 440 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008099/0.281, allocations: 55.69 kB / 440 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009257/0.2819, allocations: 381.4 kB / 440.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.2845, allocations: 0.855 MB / 441.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009181/0.2854, allocations: 347.3 kB / 441.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004427/0.2898, allocations: 3.203 MB / 444.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.2915, allocations: 1.098 MB / 445.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.2935, allocations: 1.335 MB / 447.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.2958, allocations: 1.662 MB / 448.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005414/0.2963, allocations: 292 kB / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.2974, allocations: 431.9 kB / 449.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009053/0.2983, allocations: 0.8606 MB / 450.4 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001848/0.3001, allocations: 1.194 MB / 451.6 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00541/0.3055, allocations: 4.153 MB / 455.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3055, allocations: 3.938 kB / 455.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3055, allocations: 0 / 455.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001248/0.3057, allocations: 0 / 455.8 MB, free: 14.46 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.009385/0.315, allocations: 3.478 MB / 459.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3151, allocations: 12.03 kB / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.326e-05/0.3152, allocations: 60.78 kB / 459.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004719/0.3156, allocations: 337.2 kB / 459.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.32, allocations: 0.7602 MB / 460.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/0.3235, allocations: 1.687 MB / 462.1 MB, free: 8.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.3236, allocations: 172.7 kB / 462.3 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004231/0.324, allocations: 235.9 kB / 462.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/0.3299, allocations: 3.441 MB / 466 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.33, allocations: 0 / 466 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002552/0.3302, allocations: 96 kB / 466.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.444e-05/0.3303, allocations: 83.3 kB / 466.1 MB, free: 3.898 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005076/0.3354, allocations: 2.874 MB / 469 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.3508, allocations: 8.368 MB / 477.4 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004165/0.355, allocations: 1.836 MB / 479.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3564, allocations: 0.769 MB / 480 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004094/0.3605, allocations: 2.054 MB / 482 MB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.3605, allocations: 54.83 kB / 482.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.986e-06/0.3605, allocations: 0 / 482.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008637/0.3692, allocations: 4.129 MB / 486.2 MB, free: 15.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.3693, allocations: 119.2 kB / 486.3 MB, free: 15.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/0.3716, allocations: 1.618 MB / 488 MB, free: 13.58 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.326e-05/0.3717, allocations: 45.7 kB / 488 MB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009546/0.3726, allocations: 1.145 MB / 489.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/0.373, allocations: 380.8 kB / 489.5 MB, free: 12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.3734, allocations: 234.9 kB / 489.7 MB, free: 11.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3736, allocations: 357.9 kB / 490.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3747, allocations: 0.6427 MB / 490.7 MB, free: 10.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.3761, allocations: 1.011 MB / 491.7 MB, free: 9.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/0.3787, allocations: 1.701 MB / 493.5 MB, free: 7.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.3787, allocations: 11.98 kB / 493.5 MB, free: 7.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003578/0.3823, allocations: 1.946 MB / 495.4 MB, free: 5.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3823, allocations: 14.97 kB / 495.4 MB, free: 5.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.3823, allocations: 12 kB / 495.4 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003753/0.3827, allocations: 126.2 kB / 495.6 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.384, allocations: 331.5 kB / 495.9 MB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/0.3873, allocations: 3.208 MB / 499.1 MB, free: 1.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.3884, allocations: 95.67 kB / 499.2 MB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3885, allocations: 56.11 kB / 499.2 MB, free: 1.699 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.001612/0.3901, allocations: 0.8367 MB / 0.4884 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003356/0.3904, allocations: 159 kB / 0.4885 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/0.3931, allocations: 1.397 MB / 0.4899 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.3931, allocations: 12 kB / 0.4899 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.3931, allocations: 4 kB / 0.4899 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3931, allocations: 3.984 kB / 0.4899 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.3972, allocations: 2.265 MB / 0.4921 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.3972, allocations: 4.281 kB / 0.4921 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008863/0.3981, allocations: 191.8 kB / 0.4923 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/0.3988, allocations: 250.3 kB / 0.4925 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.3989, allocations: 35.97 kB / 0.4926 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006414/0.4053, allocations: 5.89 MB / 0.4983 GB, free: 6.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.4053, allocations: 4.219 kB / 0.4983 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/0.4096, allocations: 2.558 MB / 0.5008 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000435/0.41, allocations: 186.9 kB / 0.501 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.4102, allocations: 32.11 kB / 0.501 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008638/0.4111, allocations: 91.91 kB / 0.5011 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.4113, allocations: 108 kB / 0.5012 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.4114, allocations: 31.98 kB / 0.5012 GB, free: 3.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.413, allocations: 1.135 MB / 0.5024 GB, free: 2.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.413, allocations: 0 / 0.5024 GB, free: 2.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001532/0.4146, allocations: 448 kB / 0.5028 GB, free: 1.602 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.004642/0.4192, allocations: 3.166 MB / 0.5059 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.4222, allocations: 1.671 MB / 0.5075 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4222, allocations: 4 kB / 0.5075 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.4242, allocations: 1.145 MB / 0.5086 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.4258, allocations: 281.8 kB / 0.5089 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0273/0.4531, allocations: 17.48 MB / 0.526 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.4549, allocations: 1.547 MB / 0.5275 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001199/0.4561, allocations: 455.5 kB / 0.5279 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/0.4573, allocations: 0.8312 MB / 0.5287 GB, free: 6.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4573, allocations: 3.938 kB / 0.5287 GB, free: 6.336 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2789/0.7362, allocations: 40.5 MB / 0.5683 GB, free: 79.4 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.34, allocations: 8.062 kB / 0.5683 GB, free: 79.39 MB / 446.1 MB " [Timeout remaining time 644] (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.503525980049744]