Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",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.001295/0.001295, allocations: 104.9 kB / 17.58 MB, free: 5.418 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.001476/0.001476, allocations: 191.9 kB / 18.5 MB, free: 4.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 56.61 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08947, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006107/0.09562, allocations: 4.606 MB / 332 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.0987, allocations: 1.737 MB / 333.7 MB, free: 13.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005228/0.09928, allocations: 19.94 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006836/0.09997, allocations: 262.3 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.1017, allocations: 0.6841 MB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.1022, allocations: 231.5 kB / 334.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.1043, allocations: 1.88 MB / 336.8 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.1057, allocations: 1.257 MB / 338.1 MB, free: 9.609 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009009/0.1066, allocations: 0.7865 MB / 338.8 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.1079, allocations: 0.9807 MB / 339.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004257/0.1084, allocations: 188 kB / 340 MB, free: 7.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008027/0.1092, allocations: 307.9 kB / 340.3 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.1098, allocations: 0.5298 MB / 340.8 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.1111, allocations: 0.8982 MB / 341.7 MB, free: 5.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002381/0.1135, allocations: 2.547 MB / 344.3 MB, free: 3.363 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1135, allocations: 4 kB / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1135, allocations: 0 / 344.3 MB, free: 3.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.443e-05/0.1136, allocations: 0 / 344.3 MB, free: 3.359 MB / 286.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.004798/0.1184, allocations: 2.168 MB / 346.5 MB, free: 1.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.1184, allocations: 12.03 kB / 346.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003402/0.1188, allocations: 206.8 kB / 346.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.1206, allocations: 370.6 kB / 347 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001709/0.1223, allocations: 1.036 MB / 348.1 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.626e-05/0.1224, allocations: 99.03 kB / 348.2 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.1226, allocations: 139.9 kB / 348.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.1258, allocations: 1.886 MB / 350.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.1259, allocations: 0 / 350.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001433/0.126, allocations: 56 kB / 350.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/0.1261, allocations: 45.94 kB / 350.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002814/0.1289, allocations: 1.688 MB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009632/0.1386, allocations: 5.59 MB / 357.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003182/0.1418, allocations: 2.917 MB / 360.5 MB, free: 2.359 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/0.1426, allocations: 0.4915 MB / 361 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002731/0.1453, allocations: 1.532 MB / 362.5 MB, free: 268 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1454, allocations: 50.67 kB / 362.5 MB, free: 208 kB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.1454, allocations: 0 / 362.5 MB, free: 208 kB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003348/0.1488, allocations: 1.407 MB / 364 MB, free: 14.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1488, allocations: 89.05 kB / 364 MB, free: 14.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.1506, allocations: 1.028 MB / 365.1 MB, free: 13.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.355e-05/0.1506, allocations: 37.7 kB / 365.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.1512, allocations: 0.6774 MB / 365.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1513, allocations: 185.3 kB / 366 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.1515, allocations: 126.2 kB / 366.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1517, allocations: 334 kB / 366.4 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.1522, allocations: 361 kB / 366.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006691/0.1529, allocations: 0.517 MB / 367.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.1542, allocations: 0.875 MB / 368.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1542, allocations: 0 / 368.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001753/0.156, allocations: 1.009 MB / 369.2 MB, free: 9.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.156, allocations: 4.562 kB / 369.2 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.1561, allocations: 11.94 kB / 369.2 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.1561, allocations: 12 kB / 369.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/0.1568, allocations: 183.7 kB / 369.4 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.1569, allocations: 8 kB / 369.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006458/0.1575, allocations: 87.33 kB / 369.5 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.1576, allocations: 24 kB / 369.5 MB, free: 9.023 MB / 318.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.0008314/0.1584, allocations: 0.5331 MB / 370 MB, free: 8.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/0.1587, allocations: 90.88 kB / 370.1 MB, free: 8.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.16, allocations: 0.6785 MB / 370.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.16, allocations: 7.938 kB / 370.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.1601, allocations: 7.938 kB / 370.8 MB, free: 7.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.1601, allocations: 3.984 kB / 370.8 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.1631, allocations: 1.664 MB / 372.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.1632, allocations: 4 kB / 372.5 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.1636, allocations: 99.8 kB / 372.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.1641, allocations: 159.8 kB / 372.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/0.1642, allocations: 15.98 kB / 372.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002964/0.1671, allocations: 2.848 MB / 375.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1671, allocations: 4 kB / 375.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.1693, allocations: 1.474 MB / 377.1 MB, free: 1.184 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.1697, allocations: 188 kB / 377.3 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001848/0.1699, allocations: 16 kB / 377.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.1705, allocations: 67.86 kB / 377.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.1707, allocations: 59.8 kB / 377.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.1707, allocations: 16 kB / 377.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001068/0.1718, allocations: 0.7332 MB / 378.1 MB, free: 96 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1718, allocations: 0 / 378.1 MB, free: 96 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.1479/0.3197, allocations: 358.2 kB / 378.5 MB, free: 52.62 MB / 318.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.003343/0.3231, allocations: 2.045 MB / 380.5 MB, free: 51.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.3251, allocations: 0.8381 MB / 381.4 MB, free: 51.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.3251, allocations: 1.312 kB / 381.4 MB, free: 51.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.3262, allocations: 0.5943 MB / 382 MB, free: 51.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009915/0.3272, allocations: 172.8 kB / 382.1 MB, free: 51.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01392/0.3411, allocations: 11.13 MB / 393.3 MB, free: 46.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.3422, allocations: 1.491 MB / 394.8 MB, free: 45.26 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006433/0.3429, allocations: 229.7 kB / 395 MB, free: 45.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.3434, allocations: 491.7 kB / 395.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3434, allocations: 0 / 395.5 MB, free: 44.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.3854, allocations: 22.53 MB / 418 MB, free: 24.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.216/9.601, allocations: 8.062 kB / 418 MB, free: 24.73 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches