Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001653/0.001653, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 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.002319/0.002319, allocations: 207.8 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.92 kB / 377.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2637, allocations: 53.36 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007876/0.2716, allocations: 5.883 MB / 437 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004335/0.2759, allocations: 2.157 MB / 439.1 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006649/0.2766, allocations: 55.69 kB / 439.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008399/0.2775, allocations: 385.4 kB / 439.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002043/0.2795, allocations: 0.8355 MB / 440.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007898/0.2803, allocations: 367.3 kB / 440.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.284, allocations: 3.194 MB / 443.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.2854, allocations: 1.094 MB / 445 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001661/0.2871, allocations: 1.332 MB / 446.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.2893, allocations: 1.662 MB / 448 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004159/0.2898, allocations: 292 kB / 448.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008559/0.2906, allocations: 423.8 kB / 448.7 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008001/0.2914, allocations: 0.8568 MB / 449.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.2929, allocations: 1.198 MB / 450.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00432/0.2972, allocations: 4.138 MB / 454.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2972, allocations: 0 / 454.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2972, allocations: 0 / 454.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.153e-05/0.2973, allocations: 4 kB / 454.9 MB, free: 14.66 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.008287/0.3056, allocations: 3.478 MB / 458.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3056, allocations: 8.031 kB / 458.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004385/0.3061, allocations: 333.1 kB / 458.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.3104, allocations: 0.7602 MB / 459.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003894/0.3143, allocations: 1.691 MB / 461.2 MB, free: 8.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.3144, allocations: 169 kB / 461.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004546/0.3149, allocations: 239.8 kB / 461.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005928/0.3208, allocations: 3.425 MB / 465 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.3208, allocations: 0 / 465 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.3211, allocations: 100 kB / 465.1 MB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.141e-05/0.3212, allocations: 73.98 kB / 465.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00506/0.3262, allocations: 2.858 MB / 468 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01634/0.3426, allocations: 8.336 MB / 476.4 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00408/0.3466, allocations: 1.828 MB / 478.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.3479, allocations: 0.7704 MB / 479 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004391/0.3523, allocations: 2.05 MB / 481 MB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3524, allocations: 46.83 kB / 481.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.595e-06/0.3524, allocations: 0 / 481.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008333/0.3607, allocations: 4.135 MB / 485.2 MB, free: 15.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.3608, allocations: 115.2 kB / 485.3 MB, free: 15.55 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.363, allocations: 1.645 MB / 487 MB, free: 13.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.3631, allocations: 45.7 kB / 487 MB, free: 13.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008573/0.3639, allocations: 1.137 MB / 488.1 MB, free: 12.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.3643, allocations: 368.9 kB / 488.5 MB, free: 12.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.3646, allocations: 246.8 kB / 488.7 MB, free: 12.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3648, allocations: 357.9 kB / 489.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3658, allocations: 0.6349 MB / 489.7 MB, free: 11.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.3672, allocations: 1.015 MB / 490.7 MB, free: 9.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.3697, allocations: 1.697 MB / 492.4 MB, free: 8.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.3697, allocations: 4 kB / 492.4 MB, free: 8.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003557/0.3732, allocations: 1.949 MB / 494.4 MB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.3733, allocations: 19.06 kB / 494.4 MB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.3733, allocations: 12.08 kB / 494.4 MB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003914/0.3737, allocations: 130.1 kB / 494.6 MB, free: 5.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.375, allocations: 335.5 kB / 494.9 MB, free: 5.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.3781, allocations: 3.213 MB / 498.1 MB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.3792, allocations: 95.67 kB / 498.2 MB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.3793, allocations: 59.98 kB / 498.2 MB, free: 2.02 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.001315/0.3806, allocations: 0.833 MB / 499.1 MB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003076/0.3809, allocations: 163 kB / 499.2 MB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0026/0.3835, allocations: 1.393 MB / 0.4889 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3835, allocations: 8 kB / 0.4889 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3835, allocations: 7.938 kB / 0.4889 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3835, allocations: 7.984 kB / 0.4889 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004071/0.3876, allocations: 2.25 MB / 0.4911 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.3876, allocations: 7.938 kB / 0.4911 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/0.3885, allocations: 187.8 kB / 0.4913 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006688/0.3892, allocations: 250.3 kB / 0.4915 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/0.3892, allocations: 40.03 kB / 0.4916 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00617/0.3954, allocations: 5.886 MB / 0.4973 GB, free: 6.547 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3954, allocations: 8.281 kB / 0.4973 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/0.3998, allocations: 2.556 MB / 0.4998 GB, free: 3.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000592/0.4004, allocations: 178.9 kB / 0.5 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.4006, allocations: 39.86 kB / 0.5 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008558/0.4014, allocations: 87.91 kB / 0.5001 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/0.4017, allocations: 108 kB / 0.5002 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.489e-05/0.4017, allocations: 31.98 kB / 0.5003 GB, free: 3.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.4033, allocations: 1.139 MB / 0.5014 GB, free: 2.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4033, allocations: 0 / 0.5014 GB, free: 2.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001525/0.4049, allocations: 443.9 kB / 0.5018 GB, free: 1.938 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.004429/0.4093, allocations: 3.173 MB / 0.5049 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.4123, allocations: 1.67 MB / 0.5065 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.4123, allocations: 0 / 0.5065 GB, free: 13.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/0.4142, allocations: 1.145 MB / 0.5076 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4158, allocations: 281.5 kB / 0.5079 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/0.4419, allocations: 17.48 MB / 0.525 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.4436, allocations: 1.535 MB / 0.5265 GB, free: 7.969 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001184/0.4447, allocations: 459.5 kB / 0.5269 GB, free: 7.516 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.4458, allocations: 0.8273 MB / 0.5277 GB, free: 6.688 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4458, allocations: 0 / 0.5277 GB, free: 6.688 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.7161, allocations: 40.97 MB / 0.5677 GB, free: 79.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/13.13, allocations: 6.375 kB / 0.5677 GB, free: 79.34 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 17.049193943996215]