Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009916, allocations: 87.88 kB / 16.31 MB, free: 6.461 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.001273/0.001274, allocations: 178.3 kB / 17.21 MB, free: 6.328 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.357/1.357, allocations: 223.3 MB / 241.2 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002484/0.0002486, allocations: 5.719 kB / 300.8 MB, free: 6.023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09654/0.09681, allocations: 50.42 MB / 351.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004707/0.1016, allocations: 4.003 MB / 355.2 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.1044, allocations: 1.554 MB / 356.8 MB, free: 6.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00052/0.105, allocations: 23.88 kB / 356.8 MB, free: 6.125 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005334/0.1055, allocations: 194.9 kB / 357 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.1069, allocations: 0.5834 MB / 357.6 MB, free: 5.348 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.1073, allocations: 174.5 kB / 357.8 MB, free: 5.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1094, allocations: 1.954 MB / 359.7 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.1104, allocations: 0.9012 MB / 360.6 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.1111, allocations: 0.5914 MB / 361.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.1122, allocations: 0.8133 MB / 362 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.1123, allocations: 84 kB / 362.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004833/0.1128, allocations: 207.8 kB / 362.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.1132, allocations: 410.6 kB / 362.7 MB, free: 204 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.1135, allocations: 332.9 kB / 363 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.1152, allocations: 2.026 MB / 365.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1152, allocations: 0 / 365.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1152, allocations: 0 / 365.1 MB, free: 13.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.1153, allocations: 0 / 365.1 MB, free: 13.84 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003726/0.119, allocations: 1.93 MB / 367 MB, free: 11.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1191, allocations: 12.03 kB / 367 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.1208, allocations: 369.7 kB / 367.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/0.1224, allocations: 1.032 MB / 368.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.359e-05/0.1225, allocations: 94.67 kB / 368.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001983/0.1227, allocations: 132 kB / 368.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.1258, allocations: 1.894 MB / 370.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.1258, allocations: 0 / 370.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.126, allocations: 59.95 kB / 370.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.532e-05/0.126, allocations: 50 kB / 370.6 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.1288, allocations: 1.707 MB / 372.3 MB, free: 6.438 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008198/0.137, allocations: 5.595 MB / 377.9 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.1401, allocations: 2.915 MB / 380.8 MB, free: 13.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.1409, allocations: 0.5074 MB / 381.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002216/0.1431, allocations: 1.529 MB / 382.9 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.1431, allocations: 46.52 kB / 382.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of pre-optimization done (n=53): time 2.074e-06/0.1432, allocations: 0 / 382.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003248/0.1464, allocations: 1.476 MB / 384.4 MB, free: 9.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.1465, allocations: 85.11 kB / 384.5 MB, free: 9.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.1478, allocations: 1.024 MB / 385.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.1479, allocations: 41.64 kB / 385.5 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.1484, allocations: 0.6774 MB / 386.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.1486, allocations: 189.3 kB / 386.4 MB, free: 7.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.1486, allocations: 8 kB / 386.4 MB, free: 7.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1487, allocations: 334 kB / 386.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006173/0.1494, allocations: 369 kB / 387.1 MB, free: 6.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.1501, allocations: 0.5293 MB / 387.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007021/0.1508, allocations: 445.2 kB / 388.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1508, allocations: 0 / 388.1 MB, free: 5.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001649/0.1525, allocations: 1.017 MB / 389.1 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1525, allocations: 11.94 kB / 389.1 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.1525, allocations: 12.34 kB / 389.1 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1525, allocations: 8 kB / 389.1 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007468/0.1533, allocations: 183.8 kB / 389.3 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.1533, allocations: 15.92 kB / 389.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.1538, allocations: 95.25 kB / 389.4 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.1539, allocations: 31.94 kB / 389.4 MB, free: 4.422 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000735/0.1546, allocations: 0.5247 MB / 390 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.1548, allocations: 86.97 kB / 390 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.1561, allocations: 0.7056 MB / 390.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.1561, allocations: 11.94 kB / 390.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.1561, allocations: 0 / 390.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1561, allocations: 7.938 kB / 390.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002478/0.1586, allocations: 1.664 MB / 392.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1587, allocations: 4 kB / 392.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.1591, allocations: 95.97 kB / 392.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004147/0.1596, allocations: 148.7 kB / 392.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.1596, allocations: 23.98 kB / 392.7 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.1626, allocations: 2.607 MB / 395.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.1626, allocations: 4.031 kB / 395.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.1649, allocations: 1.517 MB / 396.8 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1652, allocations: 188 kB / 397 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.1653, allocations: 12 kB / 397 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/0.1658, allocations: 75.92 kB / 397.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.166, allocations: 43.92 kB / 397.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.166, allocations: 19.94 kB / 397.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.167, allocations: 0.7331 MB / 397.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1671, allocations: 0 / 397.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001052/0.1681, allocations: 362.4 kB / 398.2 MB, free: 11.34 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.1684, allocations: 139.1 kB / 398.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.1698, allocations: 0.7995 MB / 399.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1698, allocations: 0 / 399.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.1709, allocations: 0.6028 MB / 399.8 MB, free: 9.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/0.1719, allocations: 175.1 kB / 400 MB, free: 9.609 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.1768, allocations: 3.331 MB / 403.3 MB, free: 6.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.178, allocations: 1.491 MB / 404.8 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006679/0.1787, allocations: 238.7 kB / 405 MB, free: 4.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.1789, allocations: 55.42 kB / 405.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1789, allocations: 0 / 405.1 MB, free: 4.422 MB / 334.1 MB Notification: Performance of Templates: time 0.01971/0.1986, allocations: 10.68 MB / 415.7 MB, free: 9.871 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches