Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 179.5 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007722/0.0007722, allocations: 92.92 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 47.57 MB / 374.6 MB, free: 45.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004404/0.229, allocations: 3.961 MB / 378.5 MB, free: 42.3 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002718/0.2318, allocations: 1.619 MB / 380.1 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004234/0.2322, allocations: 25.91 kB / 380.2 MB, free: 40.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000453/0.2327, allocations: 192.9 kB / 380.3 MB, free: 40.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.2339, allocations: 0.5827 MB / 380.9 MB, free: 40.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.2343, allocations: 165.3 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.2359, allocations: 1.966 MB / 383.1 MB, free: 39.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009991/0.237, allocations: 0.8607 MB / 383.9 MB, free: 38.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.2379, allocations: 0.5961 MB / 384.5 MB, free: 38.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009284/0.2388, allocations: 0.8219 MB / 385.3 MB, free: 37.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.239, allocations: 86.62 kB / 385.4 MB, free: 37.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004823/0.2395, allocations: 200.8 kB / 385.6 MB, free: 37.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.2397, allocations: 426.5 kB / 386 MB, free: 37.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.2399, allocations: 324.9 kB / 386.3 MB, free: 37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001212/0.2412, allocations: 2.019 MB / 388.4 MB, free: 34.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2412, allocations: 0 / 388.4 MB, free: 34.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2412, allocations: 8 kB / 388.4 MB, free: 34.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.2412, allocations: 0 / 388.4 MB, free: 34.96 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.003115/0.2443, allocations: 1.922 MB / 390.3 MB, free: 32.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.2444, allocations: 8.031 kB / 390.3 MB, free: 32.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.2459, allocations: 373.7 kB / 390.7 MB, free: 32.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.2472, allocations: 1.008 MB / 391.7 MB, free: 31.56 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.2472, allocations: 102.7 kB / 391.8 MB, free: 31.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.2474, allocations: 132 kB / 391.9 MB, free: 31.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.2498, allocations: 1.886 MB / 393.8 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.2499, allocations: 7.984 kB / 393.8 MB, free: 29.4 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.25, allocations: 48 kB / 393.8 MB, free: 29.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/0.25, allocations: 54 kB / 393.9 MB, free: 29.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.2523, allocations: 1.695 MB / 395.6 MB, free: 27.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/0.2592, allocations: 5.627 MB / 401.2 MB, free: 21.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.2615, allocations: 2.908 MB / 404.1 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006003/0.2621, allocations: 0.5093 MB / 404.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.2639, allocations: 1.543 MB / 406.2 MB, free: 16.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2639, allocations: 42.5 kB / 406.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 3.005e-06/0.2639, allocations: 0 / 406.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002893/0.2668, allocations: 1.474 MB / 407.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.2669, allocations: 85.11 kB / 407.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2679, allocations: 1.017 MB / 408.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.268, allocations: 37.7 kB / 408.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002718/0.2682, allocations: 0.6813 MB / 409.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/0.2683, allocations: 185.4 kB / 409.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.001e-05/0.2684, allocations: 15.94 kB / 409.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.2684, allocations: 334 kB / 410 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.2689, allocations: 369 kB / 410.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.2695, allocations: 0.526 MB / 410.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005525/0.27, allocations: 445.2 kB / 411.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.27, allocations: 4 kB / 411.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001254/0.2713, allocations: 1.021 MB / 412.4 MB, free: 9.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.2713, allocations: 8 kB / 412.4 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2713, allocations: 4 kB / 412.4 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2714, allocations: 12 kB / 412.4 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/0.272, allocations: 195.9 kB / 412.6 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.2721, allocations: 11.94 kB / 412.6 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.2725, allocations: 91.23 kB / 412.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.2726, allocations: 28 kB / 412.7 MB, free: 9.57 MB / 298.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.0005512/0.2732, allocations: 0.5255 MB / 413.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.2733, allocations: 90.92 kB / 413.3 MB, free: 8.945 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.2743, allocations: 0.7057 MB / 414 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2743, allocations: 4 kB / 414.1 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.2743, allocations: 4 kB / 414.1 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2743, allocations: 7.922 kB / 414.1 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.2761, allocations: 1.672 MB / 415.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2761, allocations: 0 / 415.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.2766, allocations: 95.88 kB / 415.8 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003839/0.2769, allocations: 155.4 kB / 416 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.277, allocations: 19.98 kB / 416 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.2791, allocations: 2.597 MB / 418.6 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.2792, allocations: 4.062 kB / 418.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.2809, allocations: 1.511 MB / 420.1 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2811, allocations: 192.1 kB / 420.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-05/0.2812, allocations: 31.94 kB / 420.3 MB, free: 1.695 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/0.2817, allocations: 59.94 kB / 420.4 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.2818, allocations: 55.92 kB / 420.4 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.2818, allocations: 23.92 kB / 420.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006754/0.2825, allocations: 0.7215 MB / 421.2 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2825, allocations: 3.938 kB / 421.2 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007846/0.2833, allocations: 362.4 kB / 421.5 MB, free: 496 kB / 298.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.0001825/0.2835, allocations: 134 kB / 421.7 MB, free: 352 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.2847, allocations: 0.7882 MB / 422.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2847, allocations: 4.188 kB / 422.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.2857, allocations: 0.606 MB / 423.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009008/0.2866, allocations: 179.2 kB / 423.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.2906, allocations: 3.322 MB / 426.6 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008963/0.2915, allocations: 1.465 MB / 428 MB, free: 9.887 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/0.2917, allocations: 63.42 kB / 428.1 MB, free: 9.824 MB / 314.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2917, allocations: 0 / 428.1 MB, free: 9.824 MB / 314.7 MB Notification: Performance of Templates: time 0.02149/0.3132, allocations: 19.49 MB / 447.6 MB, free: 6.336 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches