Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001118/0.001118, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.263, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007573/0.2706, allocations: 5.926 MB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004135/0.2748, allocations: 2.119 MB / 418 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008666/0.2757, allocations: 39.81 kB / 418 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2769, allocations: 401.1 kB / 418.4 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.2784, allocations: 0.5554 MB / 419 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.2789, allocations: 227.8 kB / 419.2 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002286/0.2812, allocations: 2.225 MB / 421.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.2837, allocations: 2.22 MB / 423.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.2857, allocations: 1.06 MB / 424.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.2872, allocations: 1.207 MB / 425.9 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003882/0.2876, allocations: 288 kB / 426.2 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006703/0.2883, allocations: 379.8 kB / 426.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005502/0.2888, allocations: 0.713 MB / 427.3 MB, free: 148 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.29, allocations: 1.221 MB / 428.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.2933, allocations: 3.787 MB / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.2933, allocations: 0 / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2934, allocations: 0 / 432.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-05/0.2934, allocations: 0 / 432.3 MB, free: 11.12 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004689/0.2981, allocations: 2.392 MB / 434.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2982, allocations: 12.03 kB / 434.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009688/0.2992, allocations: 278.2 kB / 434.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.3014, allocations: 1.364 MB / 436.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.3015, allocations: 139.5 kB / 436.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003253/0.3019, allocations: 175.9 kB / 436.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004262/0.3061, allocations: 2.547 MB / 439.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.051e-05/0.3062, allocations: 0 / 439.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/0.3064, allocations: 72 kB / 439.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/0.3065, allocations: 91.58 kB / 439.3 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00373/0.3103, allocations: 2.126 MB / 441.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01137/0.3217, allocations: 7.355 MB / 448.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.3232, allocations: 1.259 MB / 450.1 MB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.3239, allocations: 466.9 kB / 450.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.3241, allocations: 121.5 kB / 450.6 MB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.3242, allocations: 39 kB / 450.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.615e-06/0.3242, allocations: 0 / 450.7 MB, free: 8.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00433/0.3285, allocations: 2.265 MB / 452.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.3286, allocations: 89.55 kB / 453 MB, free: 5.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.3308, allocations: 1.52 MB / 454.5 MB, free: 4.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.3309, allocations: 29.7 kB / 454.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007918/0.3317, allocations: 0.9713 MB / 455.5 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.3319, allocations: 193.4 kB / 455.7 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.3322, allocations: 238.6 kB / 456 MB, free: 2.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3324, allocations: 365.9 kB / 456.3 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.3331, allocations: 466.2 kB / 456.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.3343, allocations: 1.087 MB / 457.9 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.3362, allocations: 1.619 MB / 459.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.3363, allocations: 12 kB / 459.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002798/0.3391, allocations: 1.679 MB / 461.2 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3391, allocations: 19.94 kB / 461.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.3391, allocations: 20 kB / 461.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.3399, allocations: 185.1 kB / 461.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.3408, allocations: 279.5 kB / 461.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/0.3433, allocations: 2.361 MB / 464 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.3445, allocations: 87.73 kB / 464.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-05/0.3446, allocations: 68 kB / 464.2 MB, free: 9.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.3457, allocations: 0.7233 MB / 464.9 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.3459, allocations: 134.4 kB / 465 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001455/0.3474, allocations: 0.8335 MB / 465.9 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3474, allocations: 8 kB / 465.9 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3474, allocations: 4 kB / 465.9 MB, free: 8.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.3475, allocations: 3.984 kB / 465.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.3511, allocations: 2.491 MB / 468.4 MB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.3512, allocations: 4 kB / 468.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.3516, allocations: 95.88 kB / 468.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006414/0.3522, allocations: 152.7 kB / 468.6 MB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3523, allocations: 15.98 kB / 468.6 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3545, allocations: 2.299 MB / 470.9 MB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.3545, allocations: 7.938 kB / 470.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.3568, allocations: 1.329 MB / 472.3 MB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/0.3573, allocations: 279.7 kB / 472.5 MB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.3575, allocations: 19.98 kB / 472.6 MB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005981/0.3581, allocations: 48.03 kB / 472.6 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.3582, allocations: 51.81 kB / 472.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.3583, allocations: 23.94 kB / 472.7 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.3597, allocations: 1.04 MB / 473.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3597, allocations: 0 / 473.7 MB, free: 15.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001368/0.3611, allocations: 347.9 kB / 474.1 MB, free: 15.51 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004184/0.3615, allocations: 196.9 kB / 474.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.3634, allocations: 1.154 MB / 475.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.3634, allocations: 8.062 kB / 475.4 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007947/0.3642, allocations: 0.5059 MB / 475.9 MB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.3659, allocations: 368.7 kB / 476.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.371, allocations: 3.183 MB / 479.5 MB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/0.3723, allocations: 1.666 MB / 481.1 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.3726, allocations: 95.42 kB / 481.2 MB, free: 8.223 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3726, allocations: 4 kB / 481.2 MB, free: 8.219 MB / 398.1 MB Notification: Performance of Templates: time 0.03915/0.4118, allocations: 32.45 MB / 0.5016 GB, free: 7.84 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches