Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 95.47 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 193.3 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 246.4 MB, free: 9.812 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002017/0.0002017, allocations: 4 kB / 307.1 MB, free: 0.9375 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08668, allocations: 51.53 MB / 358.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008292/0.095, allocations: 8.593 MB / 367.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006228/0.1013, allocations: 3.098 MB / 370.3 MB, free: 1.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001617/0.1029, allocations: 63.88 kB / 370.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.1047, allocations: 0.5323 MB / 370.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1639/0.2686, allocations: 1.255 MB / 372.2 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.2709, allocations: 0.8404 MB / 373 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01905/0.2899, allocations: 15.53 MB / 388.6 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02143/0.3114, allocations: 15.33 MB / 403.9 MB, free: 14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00585/0.3173, allocations: 3.719 MB / 407.6 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008504/0.3258, allocations: 4.56 MB / 412.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001367/0.3272, allocations: 0.582 MB / 412.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002916/0.3302, allocations: 0.8191 MB / 413.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.3318, allocations: 1.869 MB / 415.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002683/0.3345, allocations: 1.779 MB / 417.2 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.3486, allocations: 15.85 MB / 433.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3486, allocations: 0 / 433.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3486, allocations: 0 / 433.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003535/0.349, allocations: 0 / 433.1 MB, free: 1.449 MB / 334.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.02672/0.3757, allocations: 10.86 MB / 443.9 MB, free: 6.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3758, allocations: 8.031 kB / 443.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.045/0.4208, allocations: 8.545 MB / 452.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01136/0.4322, allocations: 5.892 MB / 458.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000563/0.4328, allocations: 0.661 MB / 459 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002696/0.4355, allocations: 0.862 MB / 459.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03158/0.4671, allocations: 15.91 MB / 475.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001887/0.4673, allocations: 7.906 kB / 475.8 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001272/0.4686, allocations: 377.3 kB / 476.2 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004763/0.4691, allocations: 0.5504 MB / 476.7 MB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02609/0.4952, allocations: 15.64 MB / 492.4 MB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06748/0.5627, allocations: 49.23 MB / 0.5289 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1839/0.7466, allocations: 19.27 MB / 0.5477 GB, free: 113.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005084/0.7517, allocations: 3.573 MB / 0.5512 GB, free: 112.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004325/0.7522, allocations: 262.1 kB / 0.5515 GB, free: 112.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.7523, allocations: 85.42 kB / 0.5516 GB, free: 112.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.332e-06/0.7523, allocations: 3.938 kB / 0.5516 GB, free: 112.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02832/0.7806, allocations: 13.48 MB / 0.5647 GB, free: 108.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.7807, allocations: 124.5 kB / 0.5648 GB, free: 108.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004859/0.7855, allocations: 3.813 MB / 0.5686 GB, free: 107.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00029/0.7858, allocations: 104.6 kB / 0.5687 GB, free: 107.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001524/0.7874, allocations: 3.894 MB / 0.5725 GB, free: 104.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009924/0.7884, allocations: 1.609 MB / 0.574 GB, free: 103 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/0.7887, allocations: 151.2 kB / 0.5742 GB, free: 102.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002835/0.789, allocations: 0.6131 MB / 0.5748 GB, free: 102.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004439/0.7935, allocations: 3.652 MB / 0.5784 GB, free: 101.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005258/0.7987, allocations: 6.496 MB / 0.5847 GB, free: 96.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005527/0.8043, allocations: 5.195 MB / 0.5898 GB, free: 94.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.653e-05/0.8043, allocations: 27.62 kB / 0.5898 GB, free: 94.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01591/0.8202, allocations: 11.88 MB / 0.6014 GB, free: 83.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.135e-05/0.8203, allocations: 44 kB / 0.6014 GB, free: 83.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.692e-05/0.8204, allocations: 96 kB / 0.6015 GB, free: 83.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.8243, allocations: 1.623 MB / 0.6031 GB, free: 82.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005113/0.8295, allocations: 1.675 MB / 0.6048 GB, free: 80.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.8434, allocations: 16.18 MB / 0.6206 GB, free: 63.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004714/0.8481, allocations: 0.9562 MB / 0.6215 GB, free: 62.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006121/0.8488, allocations: 352 kB / 0.6218 GB, free: 62.24 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 (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.004476/0.8532, allocations: 3.758 MB / 0.6255 GB, free: 58.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.8538, allocations: 387.1 kB / 0.6259 GB, free: 58.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.866, allocations: 8.561 MB / 0.6342 GB, free: 49.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-05/0.866, allocations: 48 kB / 0.6343 GB, free: 49.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/0.8661, allocations: 12 kB / 0.6343 GB, free: 49.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.06e-05/0.8661, allocations: 27.89 kB / 0.6343 GB, free: 49.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02196/0.8881, allocations: 16.89 MB / 0.6508 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.417e-05/0.8881, allocations: 4 kB / 0.6508 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/0.8911, allocations: 0.8581 MB / 0.6516 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003809/0.895, allocations: 1.503 MB / 0.6531 GB, free: 30.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002919/0.8953, allocations: 107.9 kB / 0.6532 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.9088, allocations: 16 MB / 0.6688 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9089, allocations: 4 kB / 0.6688 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.9237, allocations: 12.17 MB / 0.6807 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/0.9258, allocations: 1.112 MB / 0.6818 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005816/0.9264, allocations: 84 kB / 0.6819 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/0.9285, allocations: 307.7 kB / 0.6822 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/0.9291, allocations: 319.6 kB / 0.6825 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002859/0.9294, allocations: 136 kB / 0.6826 GB, free: 14.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003818/0.9332, allocations: 2.547 MB / 0.6851 GB, free: 12.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9333, allocations: 3.938 kB / 0.6851 GB, free: 12.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006734/0.94, allocations: 2.389 MB / 0.6874 GB, free: 9.816 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.0005663/0.9406, allocations: 264 kB / 0.6877 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01408/0.9547, allocations: 9.308 MB / 0.6968 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.9547, allocations: 0 / 0.6968 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006857/0.9616, allocations: 4.469 MB / 0.7011 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.965, allocations: 0.7108 MB / 0.7018 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2061/1.171, allocations: 19.97 MB / 0.7213 GB, free: 140.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007597/1.179, allocations: 6.043 MB / 0.7272 GB, free: 140.1 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008025/1.187, allocations: 3.258 MB / 0.7304 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/1.188, allocations: 372.4 kB / 0.7308 GB, free: 140 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/1.188, allocations: 2.688 kB / 0.7308 GB, free: 140 MB / 478.1 MB Notification: Performance of Templates: time 0.09566/1.284, allocations: 63.19 MB / 0.7925 GB, free: 96.17 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches