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.0009133/0.0009134, allocations: 91.81 kB / 16.65 MB, free: 6.59 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.0009718/0.0009718, allocations: 181.9 kB / 17.56 MB, free: 6.203 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.412/1.412, allocations: 223.3 MB / 241.6 MB, free: 236 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003933, allocations: 8 kB / 301.5 MB, free: 6.039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 50.41 MB / 351.9 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003391/0.1332, allocations: 2.919 MB / 354.9 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1354, allocations: 1.265 MB / 356.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.1355, allocations: 11.94 kB / 356.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1359, allocations: 119.5 kB / 356.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009339/0.1369, allocations: 421.5 kB / 356.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003509/0.1372, allocations: 147.7 kB / 356.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005559/0.1378, allocations: 430.1 kB / 357.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.138, allocations: 121 kB / 357.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1382, allocations: 143.4 kB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.1385, allocations: 187.1 kB / 357.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.1385, allocations: 20 kB / 357.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.1388, allocations: 135.8 kB / 357.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.1389, allocations: 67.69 kB / 357.9 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001777/0.1391, allocations: 200.7 kB / 358.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.1397, allocations: 0.5098 MB / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1397, allocations: 0 / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1397, allocations: 0 / 358.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1397, allocations: 0 / 358.6 MB, free: 12.91 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.001344/0.141, allocations: 0.6825 MB / 359.3 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1411, allocations: 8.031 kB / 359.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.065e-05/0.1412, allocations: 70.72 kB / 359.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005735/0.1418, allocations: 104.3 kB / 359.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1421, allocations: 304.5 kB / 359.8 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.1422, allocations: 33.38 kB / 359.8 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.1422, allocations: 40.28 kB / 359.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005929/0.1428, allocations: 357.5 kB / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1429, allocations: 0 / 360.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.1429, allocations: 12 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1429, allocations: 12 kB / 360.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.1434, allocations: 256.9 kB / 360.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.1455, allocations: 1.335 MB / 361.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003773/0.1459, allocations: 201.2 kB / 362 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.1461, allocations: 89.69 kB / 362.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008609/0.147, allocations: 0.8791 MB / 363 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.147, allocations: 34.56 kB / 363 MB, free: 8.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.413e-06/0.147, allocations: 0 / 363 MB, free: 8.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000557/0.1476, allocations: 233.2 kB / 363.2 MB, free: 7.953 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.1477, allocations: 81.11 kB / 363.3 MB, free: 7.855 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.148, allocations: 282.9 kB / 363.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.148, allocations: 29.7 kB / 363.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1481, allocations: 235.5 kB / 363.8 MB, free: 7.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.1482, allocations: 71.08 kB / 363.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.1482, allocations: 33.7 kB / 363.9 MB, free: 7.191 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1484, allocations: 338.8 kB / 364.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.1485, allocations: 72.61 kB / 364.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.1488, allocations: 210.3 kB / 364.5 MB, free: 6.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.1492, allocations: 296.9 kB / 364.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.1492, allocations: 0 / 364.8 MB, free: 6.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005501/0.1498, allocations: 325.4 kB / 365.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1498, allocations: 4 kB / 365.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.1498, allocations: 12 kB / 365.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1499, allocations: 7.938 kB / 365.2 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.1502, allocations: 83.83 kB / 365.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.1502, allocations: 8 kB / 365.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.1504, allocations: 43.53 kB / 365.3 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.1504, allocations: 16.08 kB / 365.3 MB, free: 5.664 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.0001781/0.1506, allocations: 165.6 kB / 365.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.565e-05/0.1507, allocations: 23.72 kB / 365.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.1507, allocations: 29.73 kB / 365.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1507, allocations: 3.938 kB / 365.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1508, allocations: 0 / 365.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1508, allocations: 7.984 kB / 365.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007129/0.1515, allocations: 0.5069 MB / 366.1 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1515, allocations: 3.938 kB / 366.1 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.1517, allocations: 44.28 kB / 366.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1517, allocations: 4 kB / 366.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.1518, allocations: 8 kB / 366.1 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1518, allocations: 7.984 kB / 366.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1518, allocations: 0 / 366.1 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.1524, allocations: 434 kB / 366.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.162e-05/0.1525, allocations: 116.7 kB / 366.7 MB, free: 4.223 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1525, allocations: 8 kB / 366.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.1527, allocations: 15.92 kB / 366.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.1528, allocations: 15.98 kB / 366.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1528, allocations: 4 kB / 366.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.153, allocations: 198 kB / 366.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.153, allocations: 0 / 366.9 MB, free: 3.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.1534, allocations: 79.84 kB / 367 MB, free: 3.91 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.0008947/0.1543, allocations: 0.9911 MB / 368 MB, free: 2.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003917/0.1547, allocations: 195.5 kB / 368.2 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1548, allocations: 5.125 kB / 368.2 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.1549, allocations: 75.97 kB / 368.2 MB, free: 2.625 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.1554, allocations: 28.89 kB / 368.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1904/0.3458, allocations: 3.313 MB / 371.6 MB, free: 23.38 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.3461, allocations: 0.771 MB / 372.3 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.3463, allocations: 39.41 kB / 372.4 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.3465, allocations: 104.2 kB / 372.5 MB, free: 22.68 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3465, allocations: 0.8438 kB / 372.5 MB, free: 22.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.3638, allocations: 5.023 MB / 377.5 MB, free: 22.39 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.364, allocations: 234.8 kB / 377.7 MB, free: 22.14 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.304, allocations: 0 / 377.7 MB, free: 22.14 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