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.001354/0.001354, allocations: 123.9 kB / 17.79 MB, free: 5.242 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.001304/0.001304, allocations: 185.2 kB / 20.73 MB, free: 2.312 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.393/1.393, allocations: 225.6 MB / 249.1 MB, free: 3.621 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 47.92 kB / 365.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 52.15 MB / 417.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006471/0.1188, allocations: 4.684 MB / 422.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.1219, allocations: 1.689 MB / 424.2 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.1223, allocations: 27.88 kB / 424.2 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.123, allocations: 270.3 kB / 424.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.1249, allocations: 0.7035 MB / 425.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.1254, allocations: 234.1 kB / 425.4 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002261/0.1277, allocations: 1.88 MB / 427.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.1288, allocations: 0.9373 MB / 428.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009995/0.1298, allocations: 0.7942 MB / 429 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.1311, allocations: 1 MB / 430 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002515/0.1313, allocations: 188 kB / 430.2 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000643/0.132, allocations: 315.8 kB / 430.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005034/0.1325, allocations: 0.5336 MB / 431 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000989/0.1335, allocations: 0.9021 MB / 431.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.1362, allocations: 2.573 MB / 434.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.1362, allocations: 4 kB / 434.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1362, allocations: 0 / 434.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.1363, allocations: 0 / 434.5 MB, free: 11.82 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.004766/0.141, allocations: 2.213 MB / 436.7 MB, free: 9.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.1411, allocations: 19.95 kB / 436.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/0.1413, allocations: 202.8 kB / 436.9 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.1431, allocations: 375.6 kB / 437.3 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.1452, allocations: 1.099 MB / 438.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.1453, allocations: 103 kB / 438.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.1455, allocations: 135.9 kB / 438.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003091/0.1486, allocations: 1.89 MB / 440.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.1487, allocations: 0 / 440.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.1488, allocations: 63.94 kB / 440.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/0.1488, allocations: 42 kB / 440.6 MB, free: 5.555 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.1518, allocations: 1.684 MB / 442.3 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2228/0.3746, allocations: 5.508 MB / 447.8 MB, free: 27.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.377, allocations: 2.857 MB / 450.7 MB, free: 25.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.3776, allocations: 473.6 kB / 451.1 MB, free: 25.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002281/0.3799, allocations: 1.532 MB / 452.7 MB, free: 24.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3799, allocations: 39.38 kB / 452.7 MB, free: 24.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.3799, allocations: 1.781 kB / 452.7 MB, free: 24.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003209/0.3831, allocations: 1.42 MB / 454.1 MB, free: 24.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3832, allocations: 84.52 kB / 454.2 MB, free: 24.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.3847, allocations: 1.028 MB / 455.2 MB, free: 24.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.3848, allocations: 36.53 kB / 455.3 MB, free: 24.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005891/0.3854, allocations: 0.6907 MB / 456 MB, free: 23.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.3855, allocations: 201.8 kB / 456.2 MB, free: 23.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.3858, allocations: 124.4 kB / 456.3 MB, free: 23.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.3859, allocations: 335.6 kB / 456.6 MB, free: 23.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.3865, allocations: 360.1 kB / 457 MB, free: 23.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/0.3872, allocations: 0.517 MB / 457.5 MB, free: 22.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.3883, allocations: 0.8664 MB / 458.3 MB, free: 22.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3883, allocations: 1.188 kB / 458.3 MB, free: 22.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001716/0.39, allocations: 1.02 MB / 459.4 MB, free: 22.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.39, allocations: 6.844 kB / 459.4 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.39, allocations: 10.98 kB / 459.4 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.3901, allocations: 8.125 kB / 459.4 MB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/0.3908, allocations: 185.6 kB / 459.6 MB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.3908, allocations: 14.42 kB / 459.6 MB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004992/0.3913, allocations: 86.97 kB / 459.7 MB, free: 22.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.3914, allocations: 31.16 kB / 459.7 MB, free: 22.09 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.0007216/0.3921, allocations: 0.526 MB / 460.2 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3922, allocations: 97.62 kB / 460.3 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3935, allocations: 0.6789 MB / 461 MB, free: 21.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.3935, allocations: 11.33 kB / 461 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.3935, allocations: 2.531 kB / 461 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.3935, allocations: 3.891 kB / 461 MB, free: 21.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.3962, allocations: 1.661 MB / 462.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3962, allocations: 1.656 kB / 462.7 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.3966, allocations: 90.56 kB / 462.8 MB, free: 20.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.3971, allocations: 156.2 kB / 462.9 MB, free: 20.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.71e-05/0.3971, allocations: 21.12 kB / 462.9 MB, free: 20.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.3998, allocations: 2.841 MB / 465.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3998, allocations: 5.406 kB / 465.8 MB, free: 18.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.4019, allocations: 1.47 MB / 467.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.4021, allocations: 193.2 kB / 467.4 MB, free: 17.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4022, allocations: 24.06 kB / 467.5 MB, free: 17.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.4028, allocations: 59.02 kB / 467.5 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.4029, allocations: 50.86 kB / 467.6 MB, free: 17.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-05/0.4029, allocations: 17.88 kB / 467.6 MB, free: 17.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009525/0.4039, allocations: 0.7357 MB / 468.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4039, allocations: 0 / 468.3 MB, free: 17.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001062/0.4049, allocations: 361.3 kB / 468.7 MB, free: 17.37 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.002478/0.4074, allocations: 2.076 MB / 470.8 MB, free: 16.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.4088, allocations: 0.7476 MB / 471.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4088, allocations: 3.25 kB / 471.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.4098, allocations: 0.5736 MB / 472.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009233/0.4107, allocations: 175.3 kB / 472.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/0.4239, allocations: 10.54 MB / 482.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008418/0.4247, allocations: 1.494 MB / 484.3 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005873/0.4253, allocations: 234.4 kB / 484.5 MB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004555/0.4258, allocations: 486.1 kB / 485 MB, free: 7.855 MB / 366.1 MB Notification: Performance of SimCode: time 1.903e-06/0.4258, allocations: 3.938 kB / 485 MB, free: 7.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/0.5304, allocations: 23.22 MB / 0.4963 GB, free: 1.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.51, allocations: 16.05 kB / 0.4963 GB, free: 1.457 MB / 382.1 MB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.704478172119707]