Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.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.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001484/0.001483, allocations: 115.2 kB / 18.46 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.0018/0.0018, allocations: 206.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.84 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2389, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.0083/0.2472, allocations: 7.778 MB / 417.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004423/0.2517, allocations: 2.714 MB / 420.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.2527, allocations: 71.69 kB / 420.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.2539, allocations: 0.5779 MB / 421.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.2555, allocations: 0.7302 MB / 421.8 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.2564, allocations: 419.4 kB / 422.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.2593, allocations: 3.28 MB / 425.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003588/0.2629, allocations: 3.592 MB / 429.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.2655, allocations: 1.671 MB / 430.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002831/0.2684, allocations: 2.032 MB / 432.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006296/0.269, allocations: 464 kB / 433.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.2702, allocations: 0.6481 MB / 433.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001119/0.2713, allocations: 1.247 MB / 435.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001981/0.2733, allocations: 1.964 MB / 437.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005551/0.2788, allocations: 6.1 MB / 443.2 MB, free: 180 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2789, allocations: 3.938 kB / 443.2 MB, free: 176 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2789, allocations: 0 / 443.2 MB, free: 176 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.407e-05/0.279, allocations: 4 kB / 443.2 MB, free: 172 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.00706/0.286, allocations: 3.798 MB / 447 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2861, allocations: 12.03 kB / 447 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.2874, allocations: 432.5 kB / 447.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003951/0.2914, allocations: 2.174 MB / 449.6 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/0.2916, allocations: 221.8 kB / 449.8 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004088/0.292, allocations: 284 kB / 450.1 MB, free: 9.137 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.2983, allocations: 4.198 MB / 454.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.2983, allocations: 0 / 454.3 MB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.2986, allocations: 120 kB / 454.4 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/0.2988, allocations: 141.8 kB / 454.6 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/0.3042, allocations: 3.49 MB / 458.1 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01625/0.3204, allocations: 10.76 MB / 468.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002705/0.3232, allocations: 2.646 MB / 471.5 MB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00235/0.3255, allocations: 1.501 MB / 473 MB, free: 1.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.3258, allocations: 122.1 kB / 473.1 MB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.3258, allocations: 51.56 kB / 473.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.888e-06/0.3258, allocations: 0 / 473.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.008776/0.3346, allocations: 5.164 MB / 478.3 MB, free: 12.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3347, allocations: 90.42 kB / 478.4 MB, free: 12.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.3372, allocations: 1.922 MB / 480.3 MB, free: 10.36 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.748e-05/0.3373, allocations: 45.7 kB / 480.4 MB, free: 10.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/0.3382, allocations: 1.326 MB / 481.7 MB, free: 8.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.3385, allocations: 457.4 kB / 482.1 MB, free: 8.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.339, allocations: 279.3 kB / 482.4 MB, free: 8.227 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.3391, allocations: 305.1 kB / 482.7 MB, free: 7.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.3403, allocations: 0.812 MB / 483.5 MB, free: 7.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.3417, allocations: 1.186 MB / 484.7 MB, free: 5.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002651/0.3444, allocations: 2.078 MB / 486.8 MB, free: 3.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3444, allocations: 8 kB / 486.8 MB, free: 3.555 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00426/0.3487, allocations: 2.523 MB / 489.3 MB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.3487, allocations: 16.03 kB / 489.3 MB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.3487, allocations: 8 kB / 489.3 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.3508, allocations: 478.9 kB / 489.8 MB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.3521, allocations: 331.5 kB / 490.1 MB, free: 208 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005353/0.3575, allocations: 4.391 MB / 494.5 MB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.3589, allocations: 91.89 kB / 494.6 MB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.3591, allocations: 60 kB / 494.7 MB, free: 11.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001554/0.3606, allocations: 1.067 MB / 495.7 MB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004141/0.361, allocations: 193.7 kB / 495.9 MB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003431/0.3645, allocations: 2.137 MB / 498.1 MB, free: 8.102 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.3645, allocations: 7.969 kB / 498.1 MB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3645, allocations: 0 / 498.1 MB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009157/0.3654, allocations: 454.8 kB / 498.5 MB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.3657, allocations: 24 kB / 498.5 MB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000934/0.3666, allocations: 99.83 kB / 498.6 MB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.3668, allocations: 97.16 kB / 498.7 MB, free: 7.414 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00402/0.3708, allocations: 2.278 MB / 0.4893 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004046/0.3749, allocations: 3.11 MB / 0.4923 GB, free: 1.992 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00111/0.376, allocations: 0.8807 MB / 0.4932 GB, free: 1.109 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001742/0.3778, allocations: 1.346 MB / 0.4945 GB, free: 15.77 MB / 430.1 MB Notification: Performance of Backend: time 2.11e-07/0.3778, allocations: 0 / 0.4945 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003132/0.3809, allocations: 1.669 MB / 0.4961 GB, free: 14.09 MB / 430.1 MB Notification: Performance of SimCode: time 0.007792/0.3887, allocations: 5.828 MB / 0.5018 GB, free: 8.211 MB / 430.1 MB Notification: Performance of Templates: time 0.05103/0.4397, allocations: 33.23 MB / 0.5342 GB, free: 7.238 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches