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.001497/0.001497, allocations: 115.8 kB / 17.74 MB, free: 5.344 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.001703/0.001703, allocations: 189.5 kB / 18.67 MB, free: 4.422 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.526/1.526, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009501/0.0009501, allocations: 47.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2278, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005904/0.2337, allocations: 4.656 MB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.2369, allocations: 1.689 MB / 407.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004383/0.2373, allocations: 27.88 kB / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.238, allocations: 266.3 kB / 408 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.2395, allocations: 0.6763 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.24, allocations: 231.5 kB / 408.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.242, allocations: 1.88 MB / 410.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001314/0.2434, allocations: 1.288 MB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009288/0.2443, allocations: 0.7904 MB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.2456, allocations: 0.9847 MB / 413.9 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.2459, allocations: 188 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006291/0.2465, allocations: 311.8 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.2469, allocations: 0.5298 MB / 414.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009194/0.2479, allocations: 0.8943 MB / 415.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002331/0.2502, allocations: 2.571 MB / 418.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2502, allocations: 0 / 418.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2502, allocations: 0 / 418.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.652e-05/0.2503, allocations: 4 kB / 418.4 MB, free: 7.824 MB / 334.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.004432/0.2547, allocations: 2.179 MB / 420.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.2548, allocations: 12.03 kB / 420.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.2565, allocations: 362.6 kB / 420.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.2583, allocations: 1.099 MB / 422 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.426e-05/0.2584, allocations: 99.05 kB / 422.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.2586, allocations: 136.1 kB / 422.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.2617, allocations: 1.886 MB / 424.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.2617, allocations: 0 / 424.1 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.2618, allocations: 52 kB / 424.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.499e-05/0.2619, allocations: 57.98 kB / 424.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/0.2646, allocations: 1.684 MB / 425.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008557/0.2732, allocations: 5.489 MB / 431.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.2762, allocations: 2.907 MB / 434.3 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007217/0.277, allocations: 0.5003 MB / 434.8 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/0.2792, allocations: 1.529 MB / 436.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.2793, allocations: 38.56 kB / 436.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 4.278e-06/0.2793, allocations: 7.922 kB / 436.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003041/0.2823, allocations: 1.411 MB / 437.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2824, allocations: 89.05 kB / 437.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.2837, allocations: 1.028 MB / 438.9 MB, free: 2.332 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.2837, allocations: 37.7 kB / 438.9 MB, free: 2.289 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.2842, allocations: 0.6735 MB / 439.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.2843, allocations: 189.3 kB / 439.8 MB, free: 1.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.2845, allocations: 122.2 kB / 439.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2846, allocations: 334 kB / 440.3 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005709/0.2852, allocations: 361 kB / 440.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.2859, allocations: 0.5209 MB / 441.1 MB, free: 16 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.2871, allocations: 0.8789 MB / 442 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2872, allocations: 0 / 442 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001689/0.2889, allocations: 1.001 MB / 443 MB, free: 14.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2889, allocations: 8 kB / 443 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.2889, allocations: 4.562 kB / 443 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.2889, allocations: 11.94 kB / 443 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.2897, allocations: 191.7 kB / 443.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2897, allocations: 8 kB / 443.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005825/0.2903, allocations: 87.23 kB / 443.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.2904, allocations: 28 kB / 443.3 MB, free: 13.73 MB / 366.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007352/0.2911, allocations: 0.5247 MB / 443.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.2913, allocations: 86.97 kB / 443.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2926, allocations: 0.69 MB / 444.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.2926, allocations: 4 kB / 444.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.454e-05/0.2926, allocations: 4 kB / 444.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2926, allocations: 11.86 kB / 444.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002399/0.295, allocations: 1.656 MB / 446.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.295, allocations: 0 / 446.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.2955, allocations: 95.86 kB / 446.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004358/0.296, allocations: 155.8 kB / 446.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.396e-05/0.296, allocations: 16 kB / 446.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.299, allocations: 2.844 MB / 449.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.299, allocations: 0 / 449.4 MB, free: 7.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.3012, allocations: 1.476 MB / 450.9 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.3014, allocations: 191.9 kB / 451.1 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3015, allocations: 12 kB / 451.1 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005316/0.3021, allocations: 67.88 kB / 451.2 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.3022, allocations: 55.8 kB / 451.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.3022, allocations: 19.98 kB / 451.2 MB, free: 5.559 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009005/0.3032, allocations: 0.7293 MB / 452 MB, free: 4.836 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3032, allocations: 4 kB / 452 MB, free: 4.832 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009372/0.3041, allocations: 366.4 kB / 452.3 MB, free: 4.473 MB / 366.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.3043, allocations: 144.9 kB / 452.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.3056, allocations: 0.7716 MB / 453.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3056, allocations: 1.125 kB / 453.2 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009577/0.3066, allocations: 0.5901 MB / 453.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009004/0.3075, allocations: 171.3 kB / 454 MB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004139/0.3116, allocations: 2.766 MB / 456.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009596/0.3126, allocations: 1.461 MB / 458.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.3129, allocations: 67.42 kB / 458.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3129, allocations: 0 / 458.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of Templates: time 0.02571/0.3386, allocations: 19.75 MB / 478 MB, free: 10.71 MB / 398.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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