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.001191/0.001191, allocations: 106.9 kB / 17.58 MB, free: 5.559 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.001235/0.001235, allocations: 192 kB / 18.51 MB, free: 4.641 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.335/1.335, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00123/0.00123, allocations: 55.92 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08864/0.08988, allocations: 46.63 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004602/0.09453, allocations: 3.228 MB / 330.6 MB, free: 1.109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.09684, allocations: 1.336 MB / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.09717, allocations: 11.94 kB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.09772, allocations: 151.1 kB / 332.1 MB, free: 15.6 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009459/0.09868, allocations: 358 kB / 332.5 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.0992, allocations: 271.1 kB / 332.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.09975, allocations: 438.2 kB / 333.2 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.09999, allocations: 148.4 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1002, allocations: 163.4 kB / 333.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.1005, allocations: 203.1 kB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.653e-05/0.1006, allocations: 36 kB / 333.7 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.1009, allocations: 159.9 kB / 333.8 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.101, allocations: 83.62 kB / 333.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.1011, allocations: 191 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.1018, allocations: 0.5256 MB / 334.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1018, allocations: 0 / 334.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1018, allocations: 4 kB / 334.6 MB, free: 13.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.1018, allocations: 0 / 334.6 MB, free: 13.06 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.00148/0.1033, allocations: 0.7371 MB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1034, allocations: 8.031 kB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.82e-05/0.1035, allocations: 78.66 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006006/0.1041, allocations: 100.4 kB / 335.6 MB, free: 12.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.1045, allocations: 316.3 kB / 335.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.1045, allocations: 25.38 kB / 335.9 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.1046, allocations: 36.38 kB / 335.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.1052, allocations: 353.4 kB / 336.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1052, allocations: 4 kB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.1052, allocations: 16 kB / 336.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1052, allocations: 8 kB / 336.3 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.1057, allocations: 250.1 kB / 336.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002004/0.1077, allocations: 1.323 MB / 337.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/0.1081, allocations: 197.1 kB / 338.1 MB, free: 9.402 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1083, allocations: 85.69 kB / 338.1 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007578/0.1091, allocations: 0.8713 MB / 339 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1091, allocations: 38.5 kB / 339.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.492e-06/0.1091, allocations: 0 / 339.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000525/0.1096, allocations: 221.3 kB / 339.3 MB, free: 8.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.1097, allocations: 81.11 kB / 339.4 MB, free: 7.973 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.11, allocations: 282.9 kB / 339.6 MB, free: 7.691 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.11, allocations: 33.7 kB / 339.7 MB, free: 7.652 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1101, allocations: 235.5 kB / 339.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.1102, allocations: 67.09 kB / 340 MB, free: 7.352 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.1103, allocations: 62.02 kB / 340 MB, free: 7.285 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1104, allocations: 334.8 kB / 340.3 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1105, allocations: 68.62 kB / 340.4 MB, free: 6.883 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1108, allocations: 198.4 kB / 340.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/0.1111, allocations: 304.8 kB / 340.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1112, allocations: 4 kB / 340.9 MB, free: 6.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005048/0.1117, allocations: 312.9 kB / 341.2 MB, free: 5.953 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1117, allocations: 7.984 kB / 341.2 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1117, allocations: 4 kB / 341.2 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1117, allocations: 12.19 kB / 341.2 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002686/0.112, allocations: 75.91 kB / 341.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.112, allocations: 20.39 kB / 341.3 MB, free: 5.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001876/0.1122, allocations: 35.69 kB / 341.4 MB, free: 5.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.1123, allocations: 16 kB / 341.4 MB, free: 5.785 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.0001342/0.1124, allocations: 153.7 kB / 341.5 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.1125, allocations: 27.72 kB / 341.6 MB, free: 5.598 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.441e-05/0.1125, allocations: 29.73 kB / 341.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1125, allocations: 3.938 kB / 341.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1126, allocations: 0 / 341.6 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1126, allocations: 7.984 kB / 341.6 MB, free: 5.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006215/0.1132, allocations: 0.503 MB / 342.1 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1132, allocations: 3.938 kB / 342.1 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1134, allocations: 51.84 kB / 342.2 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1134, allocations: 0 / 342.2 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.1135, allocations: 8 kB / 342.2 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1135, allocations: 0 / 342.2 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1135, allocations: 4.031 kB / 342.2 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.114, allocations: 418.4 kB / 342.6 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.1141, allocations: 112.7 kB / 342.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.1142, allocations: 0 / 342.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.1144, allocations: 20.05 kB / 342.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1144, allocations: 15.92 kB / 342.7 MB, free: 4.336 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1145, allocations: 8 kB / 342.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.1147, allocations: 194 kB / 342.9 MB, free: 4.137 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1147, allocations: 0 / 342.9 MB, free: 4.137 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000457/0.1152, allocations: 83.75 kB / 343 MB, free: 4.055 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.0009176/0.1161, allocations: 0.9776 MB / 344 MB, free: 3.047 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004388/0.1165, allocations: 191.7 kB / 344.2 MB, free: 2.859 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1165, allocations: 1.125 kB / 344.2 MB, free: 2.859 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1167, allocations: 67.91 kB / 344.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.1172, allocations: 33.14 kB / 344.3 MB, free: 2.762 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.1211, allocations: 3.131 MB / 347.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.1215, allocations: 0.7714 MB / 348.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1216, allocations: 30.97 kB / 348.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.1218, allocations: 107.4 kB / 348.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1218, allocations: 7.938 kB / 348.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.1479, allocations: 5.347 MB / 353.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.404, allocations: 8.422 kB / 353.7 MB, free: 9.074 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches