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.00146/0.00146, allocations: 113.4 kB / 17.72 MB, free: 5.445 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.001719/0.00172, allocations: 184.1 kB / 18.65 MB, free: 4.52 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.403/1.403, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001193/0.001193, allocations: 52.39 kB / 328.5 MB, free: 3.324 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08441/0.08562, allocations: 46.62 MB / 375.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1692/0.2549, allocations: 4.606 MB / 379.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003017/0.258, allocations: 1.739 MB / 381.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003298/0.2584, allocations: 24.81 kB / 381.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005546/0.2589, allocations: 263.2 kB / 381.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.2603, allocations: 0.6905 MB / 382.4 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004301/0.2608, allocations: 234.7 kB / 382.7 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001967/0.2627, allocations: 1.889 MB / 384.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.264, allocations: 1.263 MB / 385.8 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009306/0.265, allocations: 0.7892 MB / 386.6 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.2661, allocations: 0.9753 MB / 387.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002751/0.2664, allocations: 186.6 kB / 387.8 MB, free: 7.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006564/0.2671, allocations: 314.3 kB / 388.1 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.2675, allocations: 0.5277 MB / 388.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008077/0.2683, allocations: 0.9032 MB / 389.5 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.2709, allocations: 2.566 MB / 392.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2709, allocations: 1.406 kB / 392.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2709, allocations: 0 / 392.1 MB, free: 5.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.228e-05/0.2709, allocations: 0 / 392.1 MB, free: 5.816 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.004226/0.2752, allocations: 2.22 MB / 394.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2752, allocations: 9.719 kB / 394.3 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.277, allocations: 376.9 kB / 394.7 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.2785, allocations: 1.05 MB / 395.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.2786, allocations: 104.7 kB / 395.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001891/0.2787, allocations: 136.5 kB / 396 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002885/0.2816, allocations: 1.89 MB / 397.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.2817, allocations: 0 / 397.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.2818, allocations: 56.31 kB / 397.9 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-05/0.2819, allocations: 48.62 kB / 398 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.2846, allocations: 1.687 MB / 399.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008109/0.2927, allocations: 5.531 MB / 405.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003007/0.2958, allocations: 2.907 MB / 408.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007012/0.2965, allocations: 500 kB / 408.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002422/0.2989, allocations: 1.544 MB / 410.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.299, allocations: 38.03 kB / 410.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.094e-06/0.299, allocations: 0 / 410.1 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003162/0.3022, allocations: 1.414 MB / 411.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3022, allocations: 87.27 kB / 411.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3036, allocations: 1.033 MB / 412.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.3037, allocations: 36.45 kB / 412.7 MB, free: 8.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005074/0.3042, allocations: 0.6939 MB / 413.4 MB, free: 7.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.3044, allocations: 199.6 kB / 413.6 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.3046, allocations: 124 kB / 413.7 MB, free: 7.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3047, allocations: 333.8 kB / 414.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005616/0.3053, allocations: 362.4 kB / 414.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.306, allocations: 0.5131 MB / 414.9 MB, free: 6.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.3072, allocations: 0.875 MB / 415.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3072, allocations: 0 / 415.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001567/0.3088, allocations: 1.01 MB / 416.8 MB, free: 4.621 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3088, allocations: 8 kB / 416.8 MB, free: 4.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3088, allocations: 8 kB / 416.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.3089, allocations: 12.5 kB / 416.8 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.3096, allocations: 187.8 kB / 417 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.3096, allocations: 11.94 kB / 417 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/0.3102, allocations: 87.47 kB / 417.1 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.3103, allocations: 28 kB / 417.1 MB, free: 4.285 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.0007711/0.3111, allocations: 0.5173 MB / 417.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.3112, allocations: 99.38 kB / 417.8 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.3125, allocations: 0.694 MB / 418.4 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3125, allocations: 4 kB / 418.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/0.3126, allocations: 4 kB / 418.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.3126, allocations: 7.922 kB / 418.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.315, allocations: 1.651 MB / 420.1 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.315, allocations: 4 kB / 420.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.3154, allocations: 91.88 kB / 420.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.3159, allocations: 158.3 kB / 420.4 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.316, allocations: 15.98 kB / 420.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002925/0.3189, allocations: 2.849 MB / 423.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3189, allocations: 4.219 kB / 423.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.321, allocations: 1.485 MB / 424.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/0.3213, allocations: 192.4 kB / 424.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.3214, allocations: 23.92 kB / 424.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.322, allocations: 59.94 kB / 425 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.3221, allocations: 51.86 kB / 425 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.083e-05/0.3221, allocations: 19.98 kB / 425.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009053/0.3231, allocations: 0.7293 MB / 425.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3231, allocations: 4 kB / 425.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000999/0.3241, allocations: 354.9 kB / 426.1 MB, free: 11.03 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.0002622/0.3244, allocations: 142.2 kB / 426.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00131/0.3257, allocations: 0.787 MB / 427.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3257, allocations: 0 / 427.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.3267, allocations: 0.5921 MB / 427.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/0.3277, allocations: 178.8 kB / 427.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.3317, allocations: 2.808 MB / 430.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3327, allocations: 1.495 MB / 432.1 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005054/0.3332, allocations: 226.7 kB / 432.4 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.3334, allocations: 59.42 kB / 432.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3334, allocations: 4 kB / 432.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of Templates: time 0.01876/0.3522, allocations: 11.82 MB / 444.2 MB, free: 8.816 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins/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