Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_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.001129/0.001136, allocations: 108.8 kB / 16.92 MB, free: 5.785 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.001165/0.001165, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.277/1.277, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009977/0.0009978, allocations: 51.89 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09366, allocations: 49.44 MB / 350.2 MB, free: 4.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005318/0.09903, allocations: 3.278 MB / 353.4 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1014, allocations: 1.3 MB / 354.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.1018, allocations: 8 kB / 354.8 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.1023, allocations: 143 kB / 354.9 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1036, allocations: 465.5 kB / 355.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.104, allocations: 158.3 kB / 355.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006458/0.1046, allocations: 446.1 kB / 355.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.1049, allocations: 148.5 kB / 356.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.1051, allocations: 167.3 kB / 356.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1054, allocations: 207.1 kB / 356.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.1055, allocations: 40 kB / 356.5 MB, free: 14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1059, allocations: 159.9 kB / 356.6 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.159e-05/0.106, allocations: 79.7 kB / 356.7 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.1062, allocations: 199 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006378/0.1068, allocations: 0.5217 MB / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1068, allocations: 0 / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1068, allocations: 0 / 357.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1069, allocations: 0 / 357.4 MB, free: 13.04 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001493/0.1084, allocations: 0.7486 MB / 358.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1084, allocations: 12.03 kB / 358.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.1086, allocations: 66.72 kB / 358.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000622/0.1092, allocations: 100.3 kB / 358.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.1097, allocations: 304.5 kB / 358.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.816e-05/0.1097, allocations: 33.38 kB / 358.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.466e-05/0.1098, allocations: 28.38 kB / 358.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005943/0.1104, allocations: 361.4 kB / 359.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1104, allocations: 0 / 359.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.1104, allocations: 12 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1104, allocations: 8 kB / 359.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004831/0.1109, allocations: 250.1 kB / 359.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.1131, allocations: 1.327 MB / 360.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.1134, allocations: 193.2 kB / 360.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1136, allocations: 81.69 kB / 360.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008221/0.1144, allocations: 0.8792 MB / 361.8 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1145, allocations: 38.5 kB / 361.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.583e-06/0.1145, allocations: 0 / 361.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005496/0.115, allocations: 221.3 kB / 362.1 MB, free: 8.062 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.1151, allocations: 88.98 kB / 362.1 MB, free: 7.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.1154, allocations: 278.9 kB / 362.4 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.1155, allocations: 33.7 kB / 362.5 MB, free: 7.633 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1156, allocations: 239.5 kB / 362.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.1157, allocations: 63.11 kB / 362.8 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.339e-05/0.1158, allocations: 65.92 kB / 362.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1159, allocations: 338.8 kB / 363.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1161, allocations: 64.62 kB / 363.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.1163, allocations: 206.3 kB / 363.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.1167, allocations: 288.8 kB / 363.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1167, allocations: 256 / 363.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005269/0.1173, allocations: 308.4 kB / 364 MB, free: 5.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1173, allocations: 11.97 kB / 364 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1173, allocations: 12 kB / 364 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.1174, allocations: 11.94 kB / 364 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.1176, allocations: 79.89 kB / 364.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.1176, allocations: 8 kB / 364.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/0.1178, allocations: 39.61 kB / 364.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1179, allocations: 16 kB / 364.2 MB, free: 5.773 MB / 302.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.0001388/0.118, allocations: 153.7 kB / 364.3 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.672e-05/0.1181, allocations: 31.62 kB / 364.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.534e-05/0.1181, allocations: 29.73 kB / 364.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.1182, allocations: 7.938 kB / 364.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1182, allocations: 0 / 364.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1182, allocations: 0 / 364.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00075/0.1189, allocations: 0.5108 MB / 364.9 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1189, allocations: 7.875 kB / 364.9 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1191, allocations: 51.94 kB / 365 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1192, allocations: 0 / 365 MB, free: 4.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1192, allocations: 8 kB / 365 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1192, allocations: 3.938 kB / 365 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1192, allocations: 0 / 365 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005651/0.1198, allocations: 415.2 kB / 365.4 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.1199, allocations: 112.7 kB / 365.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1199, allocations: 0 / 365.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.1201, allocations: 12 kB / 365.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.1202, allocations: 19.91 kB / 365.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.1202, allocations: 8 kB / 365.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.1204, allocations: 198 kB / 365.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1204, allocations: 0 / 365.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004395/0.1209, allocations: 79.75 kB / 365.8 MB, free: 4.047 MB / 302.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.001049/0.1219, allocations: 0.9774 MB / 366.8 MB, free: 3.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004322/0.1224, allocations: 196 kB / 367 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1224, allocations: 0 / 367 MB, free: 2.848 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1225, allocations: 71.91 kB / 367 MB, free: 2.777 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.123, allocations: 24.89 kB / 367.1 MB, free: 2.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1653/0.2883, allocations: 3.12 MB / 370.2 MB, free: 24.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2886, allocations: 0.7724 MB / 370.9 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002058/0.2888, allocations: 34.72 kB / 371 MB, free: 23.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.289, allocations: 104.2 kB / 371.1 MB, free: 23.64 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.289, allocations: 0 / 371.1 MB, free: 23.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7915/1.081, allocations: 5.377 MB / 376.5 MB, free: 23.13 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/9.171, allocations: 4.078 kB / 376.5 MB, free: 23.13 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches