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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 111.4 kB / 16.92 MB, free: 5.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001843, allocations: 191.3 kB / 17.85 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 50.58 kB / 300.7 MB, free: 5.773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006103/0.1133, allocations: 4.645 MB / 354.8 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.1167, allocations: 1.693 MB / 356.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008802/0.1177, allocations: 23.94 kB / 356.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009668/0.1187, allocations: 258.3 kB / 356.8 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.1208, allocations: 0.6918 MB / 357.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.1215, allocations: 233.2 kB / 357.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002599/0.1241, allocations: 1.88 MB / 359.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001746/0.1259, allocations: 1.285 MB / 360.9 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.1277, allocations: 0.7865 MB / 361.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.1299, allocations: 0.9846 MB / 362.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006554/0.1306, allocations: 184 kB / 362.8 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.1317, allocations: 311.9 kB / 363.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007905/0.1325, allocations: 0.5374 MB / 363.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001692/0.1343, allocations: 0.8944 MB / 364.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.1378, allocations: 2.555 MB / 367.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1379, allocations: 0 / 367.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.1379, allocations: 0 / 367.1 MB, free: 3.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.996e-05/0.138, allocations: 0 / 367.1 MB, free: 3.273 MB / 302.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.006288/0.1443, allocations: 2.179 MB / 369.3 MB, free: 1.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/0.1443, allocations: 8.031 kB / 369.3 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/0.1446, allocations: 206.8 kB / 369.5 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.1464, allocations: 366.7 kB / 369.9 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1772/0.3236, allocations: 1.061 MB / 370.9 MB, free: 24.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.93e-05/0.3237, allocations: 108.3 kB / 371 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002408/0.3239, allocations: 132.5 kB / 371.1 MB, free: 24.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003315/0.3273, allocations: 1.889 MB / 373 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.09e-05/0.3273, allocations: 0 / 373 MB, free: 23.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.3274, allocations: 56.81 kB / 373.1 MB, free: 23.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-05/0.3275, allocations: 51.17 kB / 373.1 MB, free: 23.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002585/0.3301, allocations: 1.691 MB / 374.8 MB, free: 22.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008034/0.3381, allocations: 5.547 MB / 380.4 MB, free: 20.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002666/0.3409, allocations: 2.905 MB / 383.3 MB, free: 17.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007127/0.3416, allocations: 0.4937 MB / 383.8 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.3437, allocations: 1.544 MB / 385.3 MB, free: 16.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.3437, allocations: 38.66 kB / 385.4 MB, free: 16.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 1.723e-06/0.3437, allocations: 0 / 385.4 MB, free: 16.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002911/0.3466, allocations: 1.413 MB / 386.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.432e-05/0.3467, allocations: 83.27 kB / 386.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/0.348, allocations: 1.023 MB / 387.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.348, allocations: 37.11 kB / 387.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003738/0.3484, allocations: 0.6823 MB / 388.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.3485, allocations: 187.4 kB / 388.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.3487, allocations: 124.5 kB / 388.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.814e-05/0.3488, allocations: 334.1 kB / 389.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.3493, allocations: 357.6 kB / 389.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000601/0.3499, allocations: 0.5224 MB / 390.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.351, allocations: 0.8687 MB / 391 MB, free: 12.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.351, allocations: 3.969 kB / 391 MB, free: 12.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001451/0.3524, allocations: 1.016 MB / 392 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3525, allocations: 5.938 kB / 392 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.3525, allocations: 5.156 kB / 392 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3525, allocations: 8.406 kB / 392 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007162/0.3533, allocations: 188.4 kB / 392.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.3533, allocations: 15.8 kB / 392.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.3538, allocations: 78.91 kB / 392.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.3539, allocations: 31.77 kB / 392.3 MB, free: 11.88 MB / 302.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.0007803/0.3547, allocations: 0.5222 MB / 392.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.3548, allocations: 92.81 kB / 392.9 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.356, allocations: 0.6862 MB / 393.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.356, allocations: 9.906 kB / 393.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.3561, allocations: 2.5 kB / 393.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.3561, allocations: 1.344 kB / 393.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.3583, allocations: 1.657 MB / 395.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.3583, allocations: 1.531 kB / 395.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.3587, allocations: 101.2 kB / 395.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.3592, allocations: 160.5 kB / 395.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.3592, allocations: 19.45 kB / 395.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002257/0.3615, allocations: 2.838 MB / 398.4 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3615, allocations: 3.938 kB / 398.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.3632, allocations: 1.476 MB / 399.9 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.3634, allocations: 188 kB / 400.1 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.3635, allocations: 15.98 kB / 400.1 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.364, allocations: 59.94 kB / 400.1 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3642, allocations: 52.58 kB / 400.2 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.786e-05/0.3642, allocations: 16 kB / 400.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.3649, allocations: 0.737 MB / 400.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3649, allocations: 0 / 400.9 MB, free: 4.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008865/0.3658, allocations: 363.3 kB / 401.3 MB, free: 4.484 MB / 302.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.002017/0.3679, allocations: 2.071 MB / 403.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.369, allocations: 0.8347 MB / 404.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3691, allocations: 0 / 404.2 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.3699, allocations: 0.581 MB / 404.8 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008677/0.3708, allocations: 178.7 kB / 405 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/0.3846, allocations: 11.13 MB / 416.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.3857, allocations: 1.491 MB / 417.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006039/0.3863, allocations: 230.7 kB / 417.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005346/0.3868, allocations: 479.3 kB / 418.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3868, allocations: 4 kB / 418.3 MB, free: 3.113 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.613/2, allocations: 22.52 MB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/13.3, allocations: 7.938 kB / 440.8 MB, free: 12.88 MB / 350.1 MB (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 --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) 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) Reference file matches