Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.0008893/0.0008893, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.0009123/0.0009123, allocations: 183.6 kB / 17.2 MB, free: 5.914 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.352/1.352, allocations: 223.2 MB / 241.1 MB, free: 5.438 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 6.25 kB / 300.7 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08873/0.08908, allocations: 50.42 MB / 351.1 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007919/0.09704, allocations: 7.992 MB / 359.1 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005057/0.1021, allocations: 3.114 MB / 362.2 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.1027, allocations: 63.81 kB / 362.3 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.104, allocations: 0.5597 MB / 362.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.1064, allocations: 1.214 MB / 364.1 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1081, allocations: 0.8466 MB / 364.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01477/0.1229, allocations: 12.21 MB / 377.1 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02215/0.145, allocations: 15.22 MB / 392.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/0.1494, allocations: 3.306 MB / 395.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005699/0.1551, allocations: 4.091 MB / 399.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.1563, allocations: 0.582 MB / 400.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002675/0.159, allocations: 0.7731 MB / 401.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001845/0.1609, allocations: 1.807 MB / 402.9 MB, free: 7.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00219/0.1631, allocations: 1.79 MB / 404.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.1768, allocations: 15.81 MB / 420.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1768, allocations: 0 / 420.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.1768, allocations: 0 / 420.5 MB, free: 6.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004182/0.1772, allocations: 0 / 420.5 MB, free: 6.109 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.3258/0.5031, allocations: 10.8 MB / 431.3 MB, free: 52.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5031, allocations: 9.031 kB / 431.3 MB, free: 52.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04623/0.5494, allocations: 8.54 MB / 439.9 MB, free: 50.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01238/0.5618, allocations: 5.858 MB / 445.7 MB, free: 48.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.5623, allocations: 0.6624 MB / 446.4 MB, free: 47.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002492/0.5648, allocations: 0.8664 MB / 447.3 MB, free: 46.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/0.5904, allocations: 15.84 MB / 463.1 MB, free: 30.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002242/0.5906, allocations: 4 kB / 463.1 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001356/0.592, allocations: 370.5 kB / 463.5 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003884/0.5924, allocations: 0.5659 MB / 464 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/0.618, allocations: 15.64 MB / 479.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07335/0.6914, allocations: 48.43 MB / 0.5157 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/0.7089, allocations: 19.29 MB / 0.5345 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004358/0.7094, allocations: 184.3 kB / 0.5347 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.7094, allocations: 78.56 kB / 0.5348 GB, free: 7.406 MB / 414.1 MB Notification: Performance of pre-optimization done (n=468): time 5.73e-06/0.7094, allocations: 0 / 0.5348 GB, free: 7.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=468): time 0.02207/0.7315, allocations: 11.5 MB / 0.546 GB, free: 11.77 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/0.7316, allocations: 125.1 kB / 0.5462 GB, free: 11.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/0.7368, allocations: 3.811 MB / 0.5499 GB, free: 7.809 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005484/0.7374, allocations: 105.7 kB / 0.55 GB, free: 7.699 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.7396, allocations: 3.89 MB / 0.5538 GB, free: 3.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001464/0.741, allocations: 1.603 MB / 0.5553 GB, free: 2.203 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.7414, allocations: 148 kB / 0.5555 GB, free: 2.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0003882/0.7418, allocations: 0.6078 MB / 0.5561 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005353/0.7472, allocations: 3.66 MB / 0.5596 GB, free: 13.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007219/0.7544, allocations: 6.464 MB / 0.566 GB, free: 6.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007/0.7614, allocations: 5.2 MB / 0.571 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.252e-05/0.7615, allocations: 24 kB / 0.5711 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01925/0.7808, allocations: 11.88 MB / 0.5827 GB, free: 4.816 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/0.7809, allocations: 44 kB / 0.5827 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.7811, allocations: 92 kB / 0.5828 GB, free: 4.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/0.7862, allocations: 1.621 MB / 0.5844 GB, free: 3.043 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006373/0.7925, allocations: 1.665 MB / 0.586 GB, free: 1.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1987/0.9912, allocations: 16.53 MB / 0.6021 GB, free: 135.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005871/0.9972, allocations: 0.9528 MB / 0.6031 GB, free: 135.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001077/0.9983, allocations: 358.7 kB / 0.6034 GB, free: 135.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006068/1.004, allocations: 3.754 MB / 0.6071 GB, free: 134.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007518/1.005, allocations: 399.2 kB / 0.6075 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/1.018, allocations: 8.552 MB / 0.6158 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/1.018, allocations: 49.22 kB / 0.6159 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-05/1.018, allocations: 16.17 kB / 0.6159 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/1.018, allocations: 23.67 kB / 0.6159 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02631/1.044, allocations: 16.89 MB / 0.6324 GB, free: 124.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.045, allocations: 4 kB / 0.6324 GB, free: 124.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003211/1.048, allocations: 0.8572 MB / 0.6332 GB, free: 123.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004217/1.052, allocations: 1.505 MB / 0.6347 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005224/1.053, allocations: 104 kB / 0.6348 GB, free: 121.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/1.067, allocations: 16.37 MB / 0.6508 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.067, allocations: 7.953 kB / 0.6508 GB, free: 104.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/1.083, allocations: 12.36 MB / 0.6629 GB, free: 92.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/1.085, allocations: 1.112 MB / 0.664 GB, free: 90.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006511/1.086, allocations: 87.95 kB / 0.664 GB, free: 90.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002325/1.088, allocations: 307.7 kB / 0.6643 GB, free: 90.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005991/1.089, allocations: 319.6 kB / 0.6646 GB, free: 90.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.089, allocations: 139.8 kB / 0.6648 GB, free: 90.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003363/1.092, allocations: 2.554 MB / 0.6673 GB, free: 87.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.092, allocations: 0 / 0.6673 GB, free: 87.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007701/1.1, allocations: 2.377 MB / 0.6696 GB, free: 85.21 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008326/1.101, allocations: 263.5 kB / 0.6698 GB, free: 84.94 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0126/1.114, allocations: 9.302 MB / 0.6789 GB, free: 75.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.114, allocations: 0 / 0.6789 GB, free: 75.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006611/1.12, allocations: 4.461 MB / 0.6833 GB, free: 71 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/1.124, allocations: 0.6429 MB / 0.6839 GB, free: 70.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/1.149, allocations: 19.93 MB / 0.7034 GB, free: 50.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005715/1.155, allocations: 6.182 MB / 0.7094 GB, free: 44.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.008325/1.163, allocations: 3.251 MB / 0.7126 GB, free: 40.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001243/1.165, allocations: 379.3 kB / 0.713 GB, free: 40.52 MB / 462.1 MB Notification: Performance of SimCode: time 7.11e-07/1.165, allocations: 0 / 0.713 GB, free: 40.52 MB / 462.1 MB Notification: Performance of Templates: time 0.2607/1.425, allocations: 63.05 MB / 0.7745 GB, free: 139.5 MB / 478.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches