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.001209/0.001209, allocations: 104 kB / 17.59 MB, free: 5.559 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.001258/0.001258, allocations: 191.5 kB / 18.51 MB, free: 4.641 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.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 52.06 kB / 301.3 MB, free: 5.852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09923/0.1008, allocations: 49.44 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01203/0.1129, allocations: 9.997 MB / 360.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008432/0.1213, allocations: 3.326 MB / 364.1 MB, free: 7.012 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.1237, allocations: 71.81 kB / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00925/0.133, allocations: 3.829 MB / 368 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.1383, allocations: 1.52 MB / 369.5 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.1414, allocations: 1.039 MB / 370.5 MB, free: 0.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2/0.3414, allocations: 9.051 MB / 379.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02904/0.3705, allocations: 20.4 MB / 400 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009294/0.3798, allocations: 5.052 MB / 405 MB, free: 9.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.3901, allocations: 6.111 MB / 411.1 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004191/0.3943, allocations: 1.398 MB / 412.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/0.4004, allocations: 1.64 MB / 414.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006035/0.4064, allocations: 3.046 MB / 417.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009898/0.4163, allocations: 5.454 MB / 422.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.019/0.4354, allocations: 18.75 MB / 441.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4354, allocations: 0 / 441.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4354, allocations: 0 / 441.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0004409/0.4359, allocations: 4 kB / 441.4 MB, free: 7.801 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.03734/0.4732, allocations: 12.3 MB / 453.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.4733, allocations: 15.89 kB / 453.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0498/0.5231, allocations: 8.45 MB / 462.2 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01333/0.5365, allocations: 5.77 MB / 468 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006534/0.5372, allocations: 0.6627 MB / 468.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003724/0.5409, allocations: 0.8651 MB / 469.5 MB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03865/0.5796, allocations: 15.98 MB / 485.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000322/0.58, allocations: 7.906 kB / 485.5 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/0.5825, allocations: 372.7 kB / 485.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005613/0.5831, allocations: 0.5544 MB / 486.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03083/0.6139, allocations: 15.72 MB / 0.4903 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4537/1.068, allocations: 48.24 MB / 0.5375 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01971/1.087, allocations: 19.35 MB / 0.5563 GB, free: 87.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005574/1.093, allocations: 3.583 MB / 0.5598 GB, free: 87.28 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/1.093, allocations: 180.7 kB / 0.56 GB, free: 87.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.091e-05/1.094, allocations: 86.38 kB / 0.5601 GB, free: 87.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.843e-06/1.094, allocations: 0 / 0.5601 GB, free: 87.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.023/1.117, allocations: 11.55 MB / 0.5714 GB, free: 86.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/1.117, allocations: 124 kB / 0.5715 GB, free: 86.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006067/1.123, allocations: 3.842 MB / 0.5752 GB, free: 85.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009145/1.124, allocations: 103.1 kB / 0.5753 GB, free: 85.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002467/1.126, allocations: 3.908 MB / 0.5792 GB, free: 83.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001942/1.128, allocations: 1.6 MB / 0.5807 GB, free: 82.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002118/1.13, allocations: 1.469 MB / 0.5822 GB, free: 81.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/1.13, allocations: 301.1 kB / 0.5824 GB, free: 81.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004763/1.135, allocations: 3.686 MB / 0.586 GB, free: 79.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006238/1.141, allocations: 6.523 MB / 0.5924 GB, free: 74.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.153, allocations: 10.83 MB / 0.603 GB, free: 68.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/1.153, allocations: 28.16 kB / 0.603 GB, free: 68.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02156/1.175, allocations: 11.95 MB / 0.6147 GB, free: 59.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/1.175, allocations: 44 kB / 0.6147 GB, free: 59.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.175, allocations: 92 kB / 0.6148 GB, free: 59.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/1.179, allocations: 1.632 MB / 0.6164 GB, free: 57.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005871/1.185, allocations: 1.667 MB / 0.618 GB, free: 56.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/1.201, allocations: 17.67 MB / 0.6353 GB, free: 37.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005532/1.207, allocations: 0.9445 MB / 0.6362 GB, free: 36.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.208, allocations: 363.9 kB / 0.6366 GB, free: 36.54 MB / 446.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005811/1.214, allocations: 3.758 MB / 0.6402 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007666/1.214, allocations: 387.1 kB / 0.6406 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.227, allocations: 8.584 MB / 0.649 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.227, allocations: 48 kB / 0.649 GB, free: 23.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.353e-05/1.227, allocations: 15.94 kB / 0.649 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.128e-05/1.227, allocations: 23.91 kB / 0.6491 GB, free: 23.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02593/1.253, allocations: 16.95 MB / 0.6656 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.253, allocations: 4 kB / 0.6656 GB, free: 6.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/1.257, allocations: 0.8584 MB / 0.6665 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004464/1.261, allocations: 1.53 MB / 0.668 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005147/1.262, allocations: 107.6 kB / 0.6681 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/1.28, allocations: 17.48 MB / 0.6851 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.28, allocations: 0 / 0.6851 GB, free: 2.168 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02033/1.3, allocations: 12.23 MB / 0.6971 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002699/1.303, allocations: 1.092 MB / 0.6981 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000696/1.304, allocations: 87.98 kB / 0.6982 GB, free: 4.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.306, allocations: 303.7 kB / 0.6985 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000747/1.307, allocations: 323.1 kB / 0.6988 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002903/1.307, allocations: 136 kB / 0.699 GB, free: 3.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00392/1.311, allocations: 2.578 MB / 0.7015 GB, free: 1.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.71e-07/1.311, allocations: 0 / 0.7015 GB, free: 1.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007893/1.319, allocations: 2.374 MB / 0.7038 GB, free: 14.86 MB / 494.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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007377/1.32, allocations: 270.3 kB / 0.704 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2306/1.551, allocations: 15.48 MB / 0.7192 GB, free: 168.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.551, allocations: 1.156 kB / 0.7192 GB, free: 168.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009104/1.56, allocations: 4.469 MB / 0.7235 GB, free: 167.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004168/1.564, allocations: 0.7325 MB / 0.7242 GB, free: 167.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03158/1.596, allocations: 16.97 MB / 0.7408 GB, free: 162.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00611/1.602, allocations: 5.936 MB / 0.7466 GB, free: 160 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002162/1.604, allocations: 427.8 kB / 0.747 GB, free: 159.9 MB / 494.1 MB Notification: Performance of SimCode: time 5.31e-07/1.604, allocations: 0 / 0.747 GB, free: 159.9 MB / 494.1 MB Notification: Performance of Templates: time 0.8316/2.436, allocations: 416.5 MB / 1.154 GB, free: 99.77 MB / 494.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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