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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008161/0.0008162, allocations: 175.7 kB / 17.03 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 223.3 MB / 241 MB, free: 11.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007197/0.0007195, allocations: 95.41 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002185/0.0002186, allocations: 7.938 kB / 351.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.195, allocations: 50.4 MB / 402.2 MB, free: 32.59 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.002993/0.198, allocations: 3.996 MB / 406.2 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1999, allocations: 1.561 MB / 407.8 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.2002, allocations: 19.94 kB / 407.8 MB, free: 27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.2006, allocations: 194.8 kB / 408 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.2016, allocations: 0.5859 MB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.2019, allocations: 167.6 kB / 408.7 MB, free: 26.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.2032, allocations: 1.954 MB / 410.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.2039, allocations: 0.8934 MB / 411.6 MB, free: 23.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005315/0.2045, allocations: 0.5875 MB / 412.2 MB, free: 22.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006397/0.2051, allocations: 0.8211 MB / 413 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001162/0.2052, allocations: 84 kB / 413.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.2056, allocations: 203.9 kB / 413.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.2059, allocations: 418.5 kB / 413.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2061, allocations: 324.9 kB / 414 MB, free: 20.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2072, allocations: 2.035 MB / 416 MB, free: 18.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2072, allocations: 0 / 416 MB, free: 18.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2072, allocations: 4 kB / 416 MB, free: 18.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.2072, allocations: 0 / 416 MB, free: 18.71 MB / 298.7 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.003118/0.2103, allocations: 1.934 MB / 418 MB, free: 16.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.2104, allocations: 8.031 kB / 418 MB, free: 16.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.212, allocations: 369.6 kB / 418.3 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.2132, allocations: 1.04 MB / 419.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.2133, allocations: 102.7 kB / 419.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.2134, allocations: 132 kB / 419.6 MB, free: 15.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.2158, allocations: 1.89 MB / 421.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.2158, allocations: 0 / 421.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.2159, allocations: 59.95 kB / 421.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.216, allocations: 49.98 kB / 421.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.2181, allocations: 1.699 MB / 423.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006331/0.2244, allocations: 5.587 MB / 428.9 MB, free: 5.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.2265, allocations: 2.919 MB / 431.8 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005734/0.2271, allocations: 0.512 MB / 432.3 MB, free: 1.617 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001621/0.2287, allocations: 1.537 MB / 433.8 MB, free: 12 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.2288, allocations: 54.45 kB / 433.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 1.944e-06/0.2288, allocations: 0 / 433.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.003114/0.2319, allocations: 1.46 MB / 435.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.232, allocations: 89.05 kB / 435.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.2332, allocations: 1.024 MB / 436.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.2332, allocations: 37.7 kB / 436.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.2336, allocations: 0.6813 MB / 437.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.2338, allocations: 185.4 kB / 437.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.2338, allocations: 8 kB / 437.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2339, allocations: 334 kB / 437.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.2345, allocations: 373 kB / 438.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.2352, allocations: 0.5254 MB / 438.6 MB, free: 11.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006765/0.2358, allocations: 441.3 kB / 439 MB, free: 10.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2359, allocations: 0 / 439 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001534/0.2374, allocations: 1.021 MB / 440 MB, free: 9.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2374, allocations: 8 kB / 440.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2374, allocations: 4 kB / 440.1 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2375, allocations: 8 kB / 440.1 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007144/0.2382, allocations: 187.8 kB / 440.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/0.2382, allocations: 20.47 kB / 440.3 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.2387, allocations: 91.23 kB / 440.4 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.102e-05/0.2388, allocations: 35.94 kB / 440.4 MB, free: 9.301 MB / 314.7 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.0007172/0.2395, allocations: 0.5285 MB / 440.9 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.2396, allocations: 86.97 kB / 441 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.2408, allocations: 0.7068 MB / 441.7 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2408, allocations: 8 kB / 441.7 MB, free: 7.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.2409, allocations: 4 kB / 441.7 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.2409, allocations: 0 / 441.7 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.2431, allocations: 1.672 MB / 443.4 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2431, allocations: 3.938 kB / 443.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/0.2436, allocations: 104 kB / 443.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003891/0.244, allocations: 144.7 kB / 443.6 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.337e-05/0.2441, allocations: 19.98 kB / 443.7 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002503/0.2466, allocations: 2.606 MB / 446.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.2466, allocations: 7.969 kB / 446.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.2488, allocations: 1.515 MB / 447.8 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002774/0.2491, allocations: 188 kB / 448 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.2492, allocations: 19.98 kB / 448 MB, free: 1.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.2497, allocations: 67.94 kB / 448.1 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.2498, allocations: 51.92 kB / 448.1 MB, free: 1.305 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.1e-05/0.2499, allocations: 23.98 kB / 448.1 MB, free: 1.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.2509, allocations: 0.7253 MB / 448.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2509, allocations: 0 / 448.9 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001028/0.252, allocations: 362.4 kB / 449.2 MB, free: 212 kB / 314.7 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.0002304/0.2522, allocations: 135.1 kB / 449.3 MB, free: 68 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2535, allocations: 0.7985 MB / 450.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2535, allocations: 5 kB / 450.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009803/0.2545, allocations: 0.5943 MB / 450.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008685/0.2554, allocations: 178.2 kB / 450.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004164/0.2595, allocations: 3.326 MB / 454.2 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009922/0.2605, allocations: 1.462 MB / 455.7 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.2608, allocations: 67.42 kB / 455.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2608, allocations: 0 / 455.8 MB, free: 9.551 MB / 330.7 MB Notification: Performance of Templates: time 0.02386/0.2846, allocations: 19.51 MB / 475.3 MB, free: 6.113 MB / 346.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches