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.0008938/0.0008939, allocations: 92.53 kB / 16.3 MB, free: 5.539 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.0008763/0.0008763, allocations: 187.4 kB / 17.2 MB, free: 5.473 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.237/1.237, allocations: 223.2 MB / 241.1 MB, free: 14.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 11.92 kB / 300.7 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09802/0.0984, allocations: 50.4 MB / 351.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003873/0.1023, allocations: 3.767 MB / 354.9 MB, free: 8 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.1047, allocations: 1.582 MB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.1051, allocations: 23.88 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.1055, allocations: 202.9 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.1068, allocations: 0.5412 MB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.1072, allocations: 167.6 kB / 357.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.1085, allocations: 1.173 MB / 358.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008849/0.1094, allocations: 0.9012 MB / 359.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005217/0.11, allocations: 0.5488 MB / 360 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007116/0.1107, allocations: 0.7004 MB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.1108, allocations: 84 kB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.1112, allocations: 187.9 kB / 361 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.1115, allocations: 394.8 kB / 361.4 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1118, allocations: 324.9 kB / 361.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1132, allocations: 2.022 MB / 363.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.1132, allocations: 0 / 363.7 MB, free: 7.137 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1133, allocations: 7.984 kB / 363.7 MB, free: 7.129 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.1133, allocations: 0 / 363.7 MB, free: 7.129 MB / 302.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.003735/0.117, allocations: 1.926 MB / 365.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1171, allocations: 8.031 kB / 365.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.1188, allocations: 369.7 kB / 366 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.1205, allocations: 1.032 MB / 367.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.1206, allocations: 98.67 kB / 367.2 MB, free: 3.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.1208, allocations: 136 kB / 367.3 MB, free: 3.469 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.1235, allocations: 1.878 MB / 369.2 MB, free: 1.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.1235, allocations: 3.953 kB / 369.2 MB, free: 1.555 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1237, allocations: 56 kB / 369.2 MB, free: 1.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.1237, allocations: 49.94 kB / 369.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1517/0.2755, allocations: 1.699 MB / 371 MB, free: 22.93 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009753/0.2853, allocations: 5.594 MB / 376.6 MB, free: 20.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002433/0.2877, allocations: 2.908 MB / 379.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002106/0.2898, allocations: 1.547 MB / 381 MB, free: 17.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.2899, allocations: 38.88 kB / 381.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.435e-06/0.2899, allocations: 0 / 381.1 MB, free: 17.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.002991/0.2929, allocations: 1.442 MB / 382.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2929, allocations: 86.94 kB / 382.6 MB, free: 16.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.2941, allocations: 1.018 MB / 383.6 MB, free: 16.25 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.2942, allocations: 37.23 kB / 383.6 MB, free: 16.21 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.2945, allocations: 0.6802 MB / 384.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.2946, allocations: 190.4 kB / 384.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2947, allocations: 13.91 kB / 384.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.838e-05/0.2947, allocations: 334.2 kB / 384.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.2953, allocations: 374.2 kB / 385.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005961/0.2959, allocations: 0.5241 MB / 385.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.2965, allocations: 443.4 kB / 386.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2965, allocations: 4.5 kB / 386.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001485/0.298, allocations: 1.022 MB / 387.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.2981, allocations: 10.98 kB / 387.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2981, allocations: 9.344 kB / 387.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.2981, allocations: 8.906 kB / 387.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.2989, allocations: 188.6 kB / 387.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.2989, allocations: 7.312 kB / 387.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005172/0.2994, allocations: 95.8 kB / 387.5 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.163e-05/0.2995, allocations: 28.33 kB / 387.5 MB, free: 14.05 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006446/0.3001, allocations: 0.5245 MB / 388.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.3002, allocations: 91.5 kB / 388.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001093/0.3013, allocations: 0.7034 MB / 388.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3014, allocations: 5.188 kB / 388.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3014, allocations: 2.312 kB / 388.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3014, allocations: 5.391 kB / 388.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.3037, allocations: 1.66 MB / 390.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3038, allocations: 1.594 kB / 390.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.3042, allocations: 103.2 kB / 390.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.3046, allocations: 150.3 kB / 390.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.3047, allocations: 19.48 kB / 390.8 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/0.307, allocations: 2.666 MB / 393.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.307, allocations: 240 / 393.5 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.3089, allocations: 1.545 MB / 395 MB, free: 8.859 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.3091, allocations: 191.8 kB / 395.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/0.3093, allocations: 22.86 kB / 395.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004929/0.3098, allocations: 64.5 kB / 395.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.3099, allocations: 58.64 kB / 395.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.3099, allocations: 20.42 kB / 395.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008361/0.3108, allocations: 0.7222 MB / 396.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.092e-06/0.3108, allocations: 0 / 396.1 MB, free: 8.211 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001008/0.3118, allocations: 361.8 kB / 396.4 MB, free: 8.113 MB / 302.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 (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.0002059/0.312, allocations: 140 kB / 396.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.3131, allocations: 0.7958 MB / 397.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3131, allocations: 1.688 kB / 397.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000846/0.314, allocations: 0.6004 MB / 398 MB, free: 7.273 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006666/0.3146, allocations: 174.8 kB / 398.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/0.3181, allocations: 3.324 MB / 401.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.3188, allocations: 1.519 MB / 403 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005045/0.3193, allocations: 238.7 kB / 403.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.3195, allocations: 59.42 kB / 403.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3195, allocations: 0 / 403.3 MB, free: 2.633 MB / 302.1 MB Notification: Performance of Templates: time 0.0167/0.3362, allocations: 10.65 MB / 413.9 MB, free: 8.129 MB / 318.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches