Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",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.0007133/0.0007134, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.0008269/0.000827, allocations: 173 kB / 18.2 MB, free: 5.551 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.221/1.221, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004375/0.0004376, allocations: 12 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08439, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003268/0.0877, allocations: 2.881 MB / 331.9 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.08982, allocations: 1.309 MB / 333.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.09, allocations: 8 kB / 333.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003872/0.09039, allocations: 119.4 kB / 333.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007736/0.09118, allocations: 326.5 kB / 333.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004679/0.09166, allocations: 243.3 kB / 333.9 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005527/0.09222, allocations: 430.1 kB / 334.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.09243, allocations: 121 kB / 334.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.09259, allocations: 143.4 kB / 334.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.09281, allocations: 175.2 kB / 334.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.924e-05/0.09286, allocations: 20 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.09314, allocations: 143.9 kB / 334.9 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.0932, allocations: 67.64 kB / 335 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.09336, allocations: 204.7 kB / 335.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.09385, allocations: 0.4982 MB / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09387, allocations: 0 / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09388, allocations: 0 / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.09389, allocations: 0 / 335.7 MB, free: 12.98 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001221/0.09511, allocations: 0.6864 MB / 336.4 MB, free: 12.24 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.09516, allocations: 8.031 kB / 336.4 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.642e-05/0.09524, allocations: 70.72 kB / 336.5 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.0958, allocations: 96.41 kB / 336.6 MB, free: 12.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.09618, allocations: 308.5 kB / 336.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.09622, allocations: 33.38 kB / 336.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.09627, allocations: 28.38 kB / 336.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005618/0.09684, allocations: 365.4 kB / 337.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.09686, allocations: 3.938 kB / 337.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.0969, allocations: 12 kB / 337.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.09692, allocations: 8 kB / 337.3 MB, free: 11.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.09738, allocations: 266.1 kB / 337.6 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.09922, allocations: 1.331 MB / 338.9 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.0996, allocations: 197.2 kB / 339.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.09978, allocations: 89.67 kB / 339.2 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007711/0.1006, allocations: 0.879 MB / 340.1 MB, free: 8.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1006, allocations: 38.55 kB / 340.1 MB, free: 8.242 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.252e-06/0.1006, allocations: 0 / 340.1 MB, free: 8.242 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005396/0.1012, allocations: 237.3 kB / 340.3 MB, free: 8.004 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1012, allocations: 77.11 kB / 340.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.1015, allocations: 282.9 kB / 340.7 MB, free: 7.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.1015, allocations: 33.64 kB / 340.7 MB, free: 7.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1016, allocations: 239.5 kB / 340.9 MB, free: 7.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.1017, allocations: 67.11 kB / 341 MB, free: 7.285 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.1018, allocations: 33.7 kB / 341 MB, free: 7.246 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1019, allocations: 334.8 kB / 341.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.102, allocations: 72.61 kB / 341.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1022, allocations: 206.3 kB / 341.6 MB, free: 6.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.1026, allocations: 300.9 kB / 341.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1027, allocations: 0 / 341.9 MB, free: 6.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004945/0.1032, allocations: 325.4 kB / 342.3 MB, free: 5.895 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1032, allocations: 12 kB / 342.3 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.1032, allocations: 4 kB / 342.3 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.1032, allocations: 7.938 kB / 342.3 MB, free: 5.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1035, allocations: 87.83 kB / 342.4 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.1035, allocations: 11.94 kB / 342.4 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1037, allocations: 39.59 kB / 342.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.1037, allocations: 19.98 kB / 342.4 MB, free: 5.715 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * 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.0001354/0.1039, allocations: 153.7 kB / 342.6 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.265e-05/0.104, allocations: 23.72 kB / 342.6 MB, free: 5.531 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.104, allocations: 33.73 kB / 342.6 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.104, allocations: 7.938 kB / 342.6 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1041, allocations: 0 / 342.6 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1041, allocations: 0 / 342.6 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.1047, allocations: 0.5069 MB / 343.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1047, allocations: 7.938 kB / 343.2 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.105, allocations: 47.91 kB / 343.2 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.105, allocations: 0 / 343.2 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.105, allocations: 8 kB / 343.2 MB, free: 4.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.105, allocations: 4.297 kB / 343.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.105, allocations: 0 / 343.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005435/0.1056, allocations: 435.2 kB / 343.6 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.1056, allocations: 108.8 kB / 343.8 MB, free: 4.285 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1057, allocations: 4 kB / 343.8 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.1059, allocations: 19.98 kB / 343.8 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1059, allocations: 7.984 kB / 343.8 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.106, allocations: 4 kB / 343.8 MB, free: 4.25 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1062, allocations: 198 kB / 344 MB, free: 4.055 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1062, allocations: 8 kB / 344 MB, free: 4.047 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.1066, allocations: 79.75 kB / 344.1 MB, free: 3.969 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.000842/0.1074, allocations: 0.9776 MB / 345 MB, free: 2.961 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.1078, allocations: 218.8 kB / 345.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1078, allocations: 1.125 kB / 345.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.108, allocations: 75.97 kB / 345.3 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.1085, allocations: 28.88 kB / 345.4 MB, free: 2.648 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.1121, allocations: 3.33 MB / 348.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1124, allocations: 0.7677 MB / 349.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1125, allocations: 38.89 kB / 349.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.1127, allocations: 103.4 kB / 349.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1127, allocations: 0 / 349.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01984/0.1325, allocations: 5.013 MB / 354.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.1327, allocations: 233.7 kB / 354.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.861/1.994, allocations: 7.938 kB / 354.8 MB, free: 8.906 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches