Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 116.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 215.8 kB / 19.41 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.409/1.409, allocations: 227.7 MB / 247.9 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2467, allocations: 50.54 MB / 410.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007869/0.2546, allocations: 5.929 MB / 416.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.2588, allocations: 2.13 MB / 418.3 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007517/0.2595, allocations: 39.81 kB / 418.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.2606, allocations: 405.4 kB / 418.7 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.2621, allocations: 0.5632 MB / 419.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.2625, allocations: 231.7 kB / 419.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002448/0.265, allocations: 2.225 MB / 421.7 MB, free: 6.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001975/0.267, allocations: 1.596 MB / 423.3 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002149/0.2691, allocations: 1.063 MB / 424.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.2708, allocations: 1.214 MB / 425.6 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.2712, allocations: 288 kB / 425.9 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006899/0.2719, allocations: 371.8 kB / 426.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006887/0.2726, allocations: 0.7128 MB / 426.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001419/0.274, allocations: 1.225 MB / 428.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.2782, allocations: 3.8 MB / 432 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.2782, allocations: 0 / 432 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2782, allocations: 0 / 432 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.834e-05/0.2783, allocations: 0 / 432 MB, free: 11.7 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.00526/0.2835, allocations: 2.448 MB / 434.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.2836, allocations: 8.031 kB / 434.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/0.2845, allocations: 291.5 kB / 434.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.2871, allocations: 1.373 MB / 436.1 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.2872, allocations: 139.5 kB / 436.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/0.2875, allocations: 172 kB / 436.4 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004437/0.2919, allocations: 2.543 MB / 438.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.292, allocations: 0 / 438.9 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.2922, allocations: 72 kB / 439 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/0.2923, allocations: 99.58 kB / 439.1 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.2961, allocations: 2.114 MB / 441.2 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.308, allocations: 7.381 MB / 448.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.3096, allocations: 1.232 MB / 449.8 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007859/0.3104, allocations: 446.9 kB / 450.3 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002374/0.3107, allocations: 121.5 kB / 450.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.3107, allocations: 35 kB / 450.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.414e-06/0.3107, allocations: 0 / 450.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.004441/0.3152, allocations: 2.291 MB / 452.7 MB, free: 6.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.3152, allocations: 93.53 kB / 452.8 MB, free: 6.238 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.3174, allocations: 1.517 MB / 454.3 MB, free: 4.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.3175, allocations: 37.7 kB / 454.4 MB, free: 4.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.3185, allocations: 1.002 MB / 455.4 MB, free: 3.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002614/0.3188, allocations: 206.4 kB / 455.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/0.3192, allocations: 242.7 kB / 455.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.3194, allocations: 358 kB / 456.1 MB, free: 2.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.3202, allocations: 466.2 kB / 456.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.3216, allocations: 1.083 MB / 457.7 MB, free: 1.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/0.3238, allocations: 1.627 MB / 459.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3238, allocations: 4 kB / 459.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002965/0.3267, allocations: 1.691 MB / 461 MB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3268, allocations: 16 kB / 461 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.069e-05/0.3268, allocations: 23.98 kB / 461 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007682/0.3276, allocations: 181.1 kB / 461.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.3285, allocations: 283.5 kB / 461.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.3312, allocations: 2.349 MB / 463.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3324, allocations: 87.81 kB / 463.9 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.3325, allocations: 68 kB / 464 MB, free: 10.22 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.001109/0.3336, allocations: 0.7156 MB / 464.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.3339, allocations: 135.2 kB / 464.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.3355, allocations: 0.8374 MB / 465.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3355, allocations: 4.062 kB / 465.7 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3355, allocations: 11.94 kB / 465.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3355, allocations: 4.172 kB / 465.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004341/0.3398, allocations: 2.483 MB / 468.2 MB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3398, allocations: 7.938 kB / 468.2 MB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/0.3402, allocations: 99.81 kB / 468.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006942/0.3409, allocations: 148.8 kB / 468.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.341, allocations: 19.98 kB / 468.5 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002636/0.3436, allocations: 2.306 MB / 470.8 MB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3436, allocations: 4.031 kB / 470.8 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.3458, allocations: 1.329 MB / 472.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.3465, allocations: 284.2 kB / 472.4 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.3466, allocations: 19.98 kB / 472.4 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.3472, allocations: 48.03 kB / 472.4 MB, free: 1.441 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3473, allocations: 47.81 kB / 472.5 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.3474, allocations: 20 kB / 472.5 MB, free: 1.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.349, allocations: 1.044 MB / 473.5 MB, free: 336 kB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.349, allocations: 0 / 473.5 MB, free: 336 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001665/0.3507, allocations: 355.9 kB / 473.9 MB, free: 15.98 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.0005641/0.3513, allocations: 188.6 kB / 474.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002125/0.3534, allocations: 1.13 MB / 475.2 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.3534, allocations: 4 kB / 475.2 MB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008659/0.3543, allocations: 0.494 MB / 475.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.3559, allocations: 376.8 kB / 476.1 MB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005561/0.3615, allocations: 3.253 MB / 479.3 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001516/0.363, allocations: 1.706 MB / 481 MB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009009/0.3639, allocations: 319.3 kB / 481.3 MB, free: 8.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.3641, allocations: 91.44 kB / 481.4 MB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3641, allocations: 0 / 481.4 MB, free: 8.312 MB / 398.1 MB Notification: Performance of Templates: time 0.03611/0.4003, allocations: 19.08 MB / 0.4888 GB, free: 5.449 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches