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.0009383/0.0009384, allocations: 176.9 kB / 16.72 MB, free: 4.961 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.328/1.328, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0007664/0.0007666, allocations: 84.25 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2355, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.003535/0.2391, allocations: 3.966 MB / 379.1 MB, free: 42.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002627/0.2418, allocations: 1.618 MB / 380.7 MB, free: 41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003757/0.2422, allocations: 18.12 kB / 380.7 MB, free: 40.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.2427, allocations: 196.8 kB / 380.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.244, allocations: 0.5844 MB / 381.5 MB, free: 40.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000397/0.2445, allocations: 175.7 kB / 381.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.2463, allocations: 1.966 MB / 383.6 MB, free: 39.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.2474, allocations: 1.052 MB / 384.7 MB, free: 38.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009558/0.2484, allocations: 0.5962 MB / 385.2 MB, free: 38.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009155/0.2493, allocations: 0.8272 MB / 386.1 MB, free: 37.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.2494, allocations: 84 kB / 386.2 MB, free: 37.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005146/0.25, allocations: 199.9 kB / 386.4 MB, free: 37.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.2502, allocations: 426.5 kB / 386.8 MB, free: 36.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.2508, allocations: 0.7481 MB / 387.5 MB, free: 36.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2521, allocations: 2.023 MB / 389.5 MB, free: 34.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2521, allocations: 0 / 389.5 MB, free: 34.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2521, allocations: 4 kB / 389.5 MB, free: 34.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.37e-05/0.2521, allocations: 0 / 389.5 MB, free: 34.16 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.00342/0.2555, allocations: 1.911 MB / 391.5 MB, free: 32.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2556, allocations: 8.031 kB / 391.5 MB, free: 32.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.2571, allocations: 374.6 kB / 391.8 MB, free: 31.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.2585, allocations: 1.032 MB / 392.9 MB, free: 30.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.714e-05/0.2586, allocations: 103 kB / 393 MB, free: 30.65 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2587, allocations: 132.1 kB / 393.1 MB, free: 30.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.2615, allocations: 1.89 MB / 395 MB, free: 28.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.2615, allocations: 0 / 395 MB, free: 28.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.2616, allocations: 52 kB / 395 MB, free: 28.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.2617, allocations: 54 kB / 395.1 MB, free: 28.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.264, allocations: 1.699 MB / 396.8 MB, free: 26.8 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006946/0.2709, allocations: 5.63 MB / 402.4 MB, free: 20.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/0.2731, allocations: 2.913 MB / 405.3 MB, free: 17.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.2738, allocations: 0.5144 MB / 405.8 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001935/0.2757, allocations: 1.543 MB / 407.4 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.2758, allocations: 38.56 kB / 407.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=53): time 2.645e-06/0.2758, allocations: 0 / 407.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=53): time 0.002664/0.2785, allocations: 1.462 MB / 408.9 MB, free: 13.92 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.2785, allocations: 89.05 kB / 409 MB, free: 13.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.2796, allocations: 1.024 MB / 410 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.2796, allocations: 33.7 kB / 410 MB, free: 12.74 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.2799, allocations: 0.6774 MB / 410.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.319e-05/0.28, allocations: 189.3 kB / 410.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.2801, allocations: 12 kB / 410.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.2801, allocations: 337.9 kB / 411.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.2806, allocations: 369 kB / 411.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.2812, allocations: 0.5293 MB / 412.1 MB, free: 10.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.2822, allocations: 0.8907 MB / 413 MB, free: 9.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.2822, allocations: 4 kB / 413 MB, free: 9.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001382/0.2836, allocations: 1.017 MB / 414 MB, free: 8.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2836, allocations: 12.02 kB / 414 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.2836, allocations: 8 kB / 414.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.2837, allocations: 11.94 kB / 414.1 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.2844, allocations: 183.7 kB / 414.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.2844, allocations: 8 kB / 414.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004925/0.2849, allocations: 99.23 kB / 414.3 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.427e-05/0.2849, allocations: 35.98 kB / 414.4 MB, free: 8.227 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.0006476/0.2856, allocations: 0.5169 MB / 414.9 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.2857, allocations: 90.97 kB / 415 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.2868, allocations: 0.6941 MB / 415.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2868, allocations: 4 kB / 415.7 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2868, allocations: 4 kB / 415.7 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.2869, allocations: 7.922 kB / 415.7 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.2889, allocations: 1.678 MB / 417.4 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2889, allocations: 4 kB / 417.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.2893, allocations: 95.97 kB / 417.5 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.2897, allocations: 156.6 kB / 417.6 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.2898, allocations: 15.98 kB / 417.6 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/0.292, allocations: 2.614 MB / 420.3 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.292, allocations: 0 / 420.3 MB, free: 2.125 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.2938, allocations: 1.511 MB / 421.8 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.294, allocations: 191.9 kB / 422 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.981e-05/0.2941, allocations: 20 kB / 422 MB, free: 364 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004849/0.2946, allocations: 68.05 kB / 422 MB, free: 296 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.2948, allocations: 63.8 kB / 422.1 MB, free: 232 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.2948, allocations: 19.94 kB / 422.1 MB, free: 212 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009531/0.2958, allocations: 0.7254 MB / 422.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2958, allocations: 4 kB / 422.9 MB, free: 15.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001064/0.2968, allocations: 358.4 kB / 423.2 MB, free: 15.13 MB / 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.0002639/0.2971, allocations: 132 kB / 423.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.2985, allocations: 0.7955 MB / 424.1 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.2985, allocations: 4 kB / 424.1 MB, free: 14.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.2996, allocations: 0.5992 MB / 424.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.3007, allocations: 163.2 kB / 424.9 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/0.305, allocations: 3.337 MB / 428.2 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.306, allocations: 1.461 MB / 429.7 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.3063, allocations: 67.42 kB / 429.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3063, allocations: 0 / 429.8 MB, free: 8.48 MB / 314.7 MB Notification: Performance of Templates: time 0.02552/0.3318, allocations: 19.43 MB / 449.2 MB, free: 5.043 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