Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 105.4 kB / 18.39 MB, free: 4.641 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.001734/0.001734, allocations: 189.1 kB / 19.33 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.328/1.328, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 47.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.08323, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1777/0.261, allocations: 4.6 MB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003235/0.2643, allocations: 1.739 MB / 382.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.2648, allocations: 24.19 kB / 382.2 MB, free: 9.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006841/0.2655, allocations: 262.4 kB / 382.4 MB, free: 9.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.2671, allocations: 0.693 MB / 383.1 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.2677, allocations: 232.4 kB / 383.4 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002409/0.2701, allocations: 1.895 MB / 385.2 MB, free: 8.848 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001471/0.2716, allocations: 1.255 MB / 386.5 MB, free: 8.359 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.2729, allocations: 0.7917 MB / 387.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.2745, allocations: 0.9843 MB / 388.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003272/0.2749, allocations: 185.8 kB / 388.5 MB, free: 7.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009392/0.2758, allocations: 308.7 kB / 388.8 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005716/0.2764, allocations: 0.529 MB / 389.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.2776, allocations: 0.8996 MB / 390.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003067/0.2806, allocations: 2.56 MB / 392.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2807, allocations: 0 / 392.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.2807, allocations: 1.188 kB / 392.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.952e-05/0.2808, allocations: 4 kB / 392.8 MB, free: 5.824 MB / 318.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.005585/0.2863, allocations: 2.175 MB / 394.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2864, allocations: 10.19 kB / 394.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.2883, allocations: 364.9 kB / 395.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.2904, allocations: 1.043 MB / 396.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.571e-05/0.2905, allocations: 96.14 kB / 396.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.2908, allocations: 141.6 kB / 396.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/0.2941, allocations: 1.899 MB / 398.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.2941, allocations: 1.938 kB / 398.5 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.2942, allocations: 55 kB / 398.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/0.2943, allocations: 46.08 kB / 398.6 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.2972, allocations: 1.681 MB / 400.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009234/0.3064, allocations: 5.516 MB / 405.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003368/0.3098, allocations: 2.909 MB / 408.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008467/0.3107, allocations: 0.496 MB / 409.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002817/0.3135, allocations: 1.538 MB / 410.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.3136, allocations: 44.62 kB / 410.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.374e-06/0.3136, allocations: 0 / 410.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003297/0.3169, allocations: 1.41 MB / 412.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.317, allocations: 86.55 kB / 412.2 MB, free: 9.203 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.3185, allocations: 1.029 MB / 413.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.3186, allocations: 40.84 kB / 413.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004509/0.319, allocations: 0.6684 MB / 414 MB, free: 8.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.3192, allocations: 197.9 kB / 414.2 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3195, allocations: 129 kB / 414.3 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3196, allocations: 333.6 kB / 414.6 MB, free: 7.445 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.3202, allocations: 359.5 kB / 415 MB, free: 7.266 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.3209, allocations: 0.5093 MB / 415.5 MB, free: 6.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.3222, allocations: 0.871 MB / 416.4 MB, free: 5.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3222, allocations: 4 kB / 416.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001705/0.3239, allocations: 1.003 MB / 417.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3239, allocations: 11.94 kB / 417.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3239, allocations: 4 kB / 417.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.324, allocations: 11.94 kB / 417.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.3248, allocations: 183.8 kB / 417.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3248, allocations: 16.16 kB / 417.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.3255, allocations: 79.28 kB / 417.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.3255, allocations: 35.92 kB / 417.7 MB, free: 4.402 MB / 334.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.00089/0.3264, allocations: 0.5212 MB / 418.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.3266, allocations: 90.95 kB / 418.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.3279, allocations: 0.6862 MB / 419 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3279, allocations: 8 kB / 419 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.328, allocations: 4 kB / 419 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.328, allocations: 7.875 kB / 419 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.3309, allocations: 1.645 MB / 420.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/0.331, allocations: 4 kB / 420.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.3314, allocations: 96.16 kB / 420.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004676/0.3319, allocations: 157.8 kB / 420.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/0.332, allocations: 19.98 kB / 420.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.3353, allocations: 2.849 MB / 423.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.3353, allocations: 4.031 kB / 423.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.3375, allocations: 1.473 MB / 425.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.3379, allocations: 195.9 kB / 425.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.338, allocations: 23.98 kB / 425.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/0.3386, allocations: 51.94 kB / 425.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.3387, allocations: 55.86 kB / 425.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.3388, allocations: 23.98 kB / 425.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009977/0.3398, allocations: 0.7293 MB / 426.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3398, allocations: 0 / 426.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001162/0.341, allocations: 358.4 kB / 426.7 MB, free: 11.16 MB / 350.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.0002859/0.3413, allocations: 139.6 kB / 426.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001385/0.3427, allocations: 0.7762 MB / 427.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.3427, allocations: 8.188 kB / 427.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.3437, allocations: 0.5866 MB / 428.2 MB, free: 9.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3447, allocations: 172.2 kB / 428.4 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.3491, allocations: 2.76 MB / 431.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.3502, allocations: 1.465 MB / 432.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002939/0.3505, allocations: 67.42 kB / 432.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3505, allocations: 0 / 432.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of Templates: time 0.02883/0.3793, allocations: 19.76 MB / 452.4 MB, free: 1.289 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches