Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 225.6 MB / 249.8 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 43.94 kB / 366.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.09024, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005969/0.09621, allocations: 4.668 MB / 423.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.09915, allocations: 1.701 MB / 424.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004703/0.09962, allocations: 31.81 kB / 424.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.1003, allocations: 266.3 kB / 425.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.1021, allocations: 0.7109 MB / 425.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.1026, allocations: 227.5 kB / 426.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.105, allocations: 1.886 MB / 428 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001276/0.1063, allocations: 0.9334 MB / 428.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.1074, allocations: 0.8176 MB / 429.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.1089, allocations: 1 MB / 430.7 MB, free: 276 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003811/0.1093, allocations: 188 kB / 430.9 MB, free: 88 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007321/0.11, allocations: 311.8 kB / 431.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004803/0.1105, allocations: 0.5375 MB / 431.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009006/0.1114, allocations: 0.8943 MB / 432.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.114, allocations: 2.577 MB / 435.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.114, allocations: 4 kB / 435.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.114, allocations: 0 / 435.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.031e-05/0.114, allocations: 3.938 kB / 435.2 MB, free: 11.75 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004425/0.1184, allocations: 2.217 MB / 437.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1185, allocations: 8.031 kB / 437.4 MB, free: 9.469 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.884e-05/0.1185, allocations: 38.86 kB / 437.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002515/0.1188, allocations: 202.8 kB / 437.7 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.1205, allocations: 379.6 kB / 438.1 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.1222, allocations: 1.099 MB / 439.2 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-05/0.1223, allocations: 102.8 kB / 439.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.1225, allocations: 143.9 kB / 439.4 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.1254, allocations: 1.89 MB / 441.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.1254, allocations: 0 / 441.3 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.1256, allocations: 56 kB / 441.3 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.1256, allocations: 46 kB / 441.4 MB, free: 5.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.1283, allocations: 1.688 MB / 443.1 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1825/0.3109, allocations: 5.499 MB / 448.6 MB, free: 27.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002344/0.3132, allocations: 2.854 MB / 451.4 MB, free: 25.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.3139, allocations: 476.5 kB / 451.9 MB, free: 25.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001967/0.3158, allocations: 1.526 MB / 453.4 MB, free: 24.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3158, allocations: 49.61 kB / 453.5 MB, free: 24.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 1.743e-06/0.3158, allocations: 3.656 kB / 453.5 MB, free: 24.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00304/0.3189, allocations: 1.412 MB / 454.9 MB, free: 24.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.3189, allocations: 83.48 kB / 455 MB, free: 24.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3203, allocations: 1.029 MB / 456 MB, free: 24.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.3203, allocations: 36.52 kB / 456 MB, free: 24.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/0.3208, allocations: 0.6951 MB / 456.7 MB, free: 23.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3209, allocations: 199.4 kB / 456.9 MB, free: 23.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3211, allocations: 128.4 kB / 457 MB, free: 23.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.3212, allocations: 329.4 kB / 457.4 MB, free: 23.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/0.3217, allocations: 359.3 kB / 457.7 MB, free: 23.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.3224, allocations: 0.5192 MB / 458.2 MB, free: 23.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.3235, allocations: 0.8708 MB / 459.1 MB, free: 22.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.3235, allocations: 2.109 kB / 459.1 MB, free: 22.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001615/0.3251, allocations: 1.017 MB / 460.1 MB, free: 22.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3251, allocations: 6.656 kB / 460.1 MB, free: 22.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3251, allocations: 5.438 kB / 460.1 MB, free: 22.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.3252, allocations: 9.312 kB / 460.1 MB, free: 22.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/0.3259, allocations: 191.5 kB / 460.3 MB, free: 22.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.3259, allocations: 8.812 kB / 460.3 MB, free: 22.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.3264, allocations: 87.33 kB / 460.4 MB, free: 22.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.3264, allocations: 26.73 kB / 460.4 MB, free: 22.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006575/0.3271, allocations: 0.5302 MB / 461 MB, free: 21.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3272, allocations: 97 kB / 461.1 MB, free: 21.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.3285, allocations: 0.6826 MB / 461.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.3285, allocations: 5.875 kB / 461.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.3285, allocations: 3.5 kB / 461.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3285, allocations: 3.281 kB / 461.8 MB, free: 21.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/0.331, allocations: 1.657 MB / 463.4 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.331, allocations: 1.281 kB / 463.4 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004516/0.3314, allocations: 99.75 kB / 463.5 MB, free: 20.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/0.3319, allocations: 150.2 kB / 463.7 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.3319, allocations: 24.83 kB / 463.7 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.3345, allocations: 2.84 MB / 466.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.3345, allocations: 5.625 kB / 466.5 MB, free: 18.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.3366, allocations: 1.472 MB / 468 MB, free: 18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/0.3368, allocations: 193.6 kB / 468.2 MB, free: 17.85 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.925e-05/0.3369, allocations: 15.5 kB / 468.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.3374, allocations: 65.12 kB / 468.3 MB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.3376, allocations: 55.81 kB / 468.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/0.3376, allocations: 13.78 kB / 468.3 MB, free: 17.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008933/0.3385, allocations: 0.734 MB / 469.1 MB, free: 17.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3385, allocations: 3.938 kB / 469.1 MB, free: 17.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001002/0.3395, allocations: 367.3 kB / 469.4 MB, free: 17.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002229/0.3417, allocations: 2.066 MB / 471.5 MB, free: 16.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.343, allocations: 0.7486 MB / 472.3 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.343, allocations: 1.125 kB / 472.3 MB, free: 16.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009265/0.3439, allocations: 0.5778 MB / 472.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.3449, allocations: 180.6 kB / 473 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/0.3575, allocations: 10.55 MB / 483.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.3582, allocations: 1.489 MB / 485 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006027/0.3588, allocations: 236.6 kB / 485.3 MB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.3593, allocations: 480 kB / 485.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of SimCode: time 1.093e-06/0.3593, allocations: 0 / 485.7 MB, free: 7.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05845/0.4178, allocations: 23.25 MB / 0.4971 GB, free: 1.312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.81, allocations: 18.86 kB / 0.4971 GB, free: 1.297 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 16.01430762599921]