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.0008316/0.0008316, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008851/0.0008851, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8441/0.8441, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.843e-06/1.843e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.767e-05, allocations: 12.61 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004743/0.00476, allocations: 5.902 MB / 330.5 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.007417, allocations: 2.152 MB / 332.6 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004039/0.007821, allocations: 55.62 kB / 332.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.008381, allocations: 381.4 kB / 333.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.00969, allocations: 0.8621 MB / 333.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.01014, allocations: 358.6 kB / 334.3 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.01223, allocations: 3.292 MB / 337.6 MB, free: 2.883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009142/0.01314, allocations: 1.078 MB / 338.6 MB, free: 1.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.01465, allocations: 1.875 MB / 340.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/0.01596, allocations: 1.524 MB / 342 MB, free: 14.35 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.01623, allocations: 296 kB / 342.3 MB, free: 14.06 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005277/0.01675, allocations: 419.8 kB / 342.7 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004473/0.0172, allocations: 0.8801 MB / 343.6 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007731/0.01797, allocations: 1.005 MB / 344.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002622/0.0206, allocations: 4.164 MB / 348.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.0206, allocations: 4 kB / 348.8 MB, free: 7.582 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.0206, allocations: 4 kB / 348.8 MB, free: 7.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.202e-05/0.02064, allocations: 3.938 kB / 348.8 MB, free: 7.574 MB / 314.7 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.004517/0.02516, allocations: 3.447 MB / 352.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.02521, allocations: 12.03 kB / 352.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002866/0.02549, allocations: 341.1 kB / 352.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.02748, allocations: 0.7446 MB / 353.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.02929, allocations: 1.69 MB / 355 MB, free: 1.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.02936, allocations: 173 kB / 355.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.02958, allocations: 228.3 kB / 355.4 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.03278, allocations: 3.437 MB / 358.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.03281, allocations: 0 / 358.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.03295, allocations: 92 kB / 358.9 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.734e-05/0.033, allocations: 66 kB / 359 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002862/0.03586, allocations: 2.87 MB / 361.9 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009182/0.04504, allocations: 8.352 MB / 370.2 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002326/0.04737, allocations: 1.84 MB / 372.1 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.04812, allocations: 0.7612 MB / 372.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00236/0.05048, allocations: 2.059 MB / 374.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.05051, allocations: 50.75 kB / 374.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=92): time 2.996e-06/0.05051, allocations: 0 / 374.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.005227/0.05574, allocations: 4.126 MB / 379.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.05581, allocations: 111.3 kB / 379.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/0.05743, allocations: 1.641 MB / 380.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.05753, allocations: 45.7 kB / 380.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005067/0.05803, allocations: 1.149 MB / 382 MB, free: 5.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.05823, allocations: 364.9 kB / 382.4 MB, free: 5.262 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.05845, allocations: 242.8 kB / 382.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.05855, allocations: 361.9 kB / 382.9 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/0.05921, allocations: 0.6348 MB / 383.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.05998, allocations: 1.016 MB / 384.6 MB, free: 2.848 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.06141, allocations: 1.698 MB / 386.3 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.06142, allocations: 4 kB / 386.3 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001942/0.06336, allocations: 1.942 MB / 388.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.06338, allocations: 19.05 kB / 388.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.0634, allocations: 12 kB / 388.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/0.06363, allocations: 125.6 kB / 388.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.06426, allocations: 339.4 kB / 388.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.06605, allocations: 3.205 MB / 391.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.0666, allocations: 99.8 kB / 392 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.06666, allocations: 59.98 kB / 392.1 MB, free: 10.96 MB / 362.7 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.0008839/0.06754, allocations: 0.8289 MB / 392.9 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.06769, allocations: 159 kB / 393.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.06911, allocations: 1.395 MB / 394.5 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.06912, allocations: 8.188 kB / 394.5 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.06913, allocations: 8 kB / 394.5 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.06913, allocations: 8.266 kB / 394.5 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.07134, allocations: 2.265 MB / 396.8 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.07134, allocations: 4 kB / 396.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.07174, allocations: 187.7 kB / 396.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003552/0.07209, allocations: 258.3 kB / 397.2 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/0.07214, allocations: 35.92 kB / 397.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003256/0.0754, allocations: 5.886 MB / 403.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.0754, allocations: 7.938 kB / 403.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.07764, allocations: 2.542 MB / 405.7 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/0.07791, allocations: 190.8 kB / 405.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.07802, allocations: 27.98 kB / 405.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.07845, allocations: 87.91 kB / 406 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.07864, allocations: 104.2 kB / 406.1 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.092e-05/0.07868, allocations: 31.98 kB / 406.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001114/0.07979, allocations: 1.139 MB / 407.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.07979, allocations: 4 kB / 407.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001229/0.08102, allocations: 443.9 kB / 407.7 MB, free: 10.89 MB / 378.7 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.002671/0.08369, allocations: 3.159 MB / 410.8 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.08551, allocations: 1.676 MB / 412.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.08551, allocations: 4.062 kB / 412.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.08655, allocations: 1.151 MB / 413.7 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.08743, allocations: 288.5 kB / 413.9 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.1041, allocations: 17.4 MB / 431.3 MB, free: 2.566 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/0.1051, allocations: 1.539 MB / 432.9 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006829/0.1058, allocations: 451.5 kB / 433.3 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00066/0.1065, allocations: 0.8284 MB / 434.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1065, allocations: 0 / 434.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1736/0.2801, allocations: 40.55 MB / 474.7 MB, free: 97.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.814/8.094, allocations: 0 / 474.7 MB, free: 97.63 MB / 410.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 10.596884666010737]