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.001672/0.001672, allocations: 113.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002367/0.002367, allocations: 208.9 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.399/2.399, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4233, allocations: 50.55 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01836/0.4418, allocations: 7.79 MB / 417.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.4523, allocations: 2.714 MB / 420.4 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.455, allocations: 71.69 kB / 420.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.4585, allocations: 0.5662 MB / 421.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005302/0.4638, allocations: 0.738 MB / 421.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002366/0.4662, allocations: 415.4 kB / 422.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007399/0.4737, allocations: 3.284 MB / 425.5 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008261/0.482, allocations: 3.581 MB / 429.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005566/0.4876, allocations: 1.683 MB / 430.8 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/0.4927, allocations: 2.028 MB / 432.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001682/0.4944, allocations: 467.9 kB / 433.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.4973, allocations: 0.652 MB / 433.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002594/0.4999, allocations: 1.235 MB / 435.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005401/0.5054, allocations: 1.972 MB / 437.1 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.5194, allocations: 6.096 MB / 443.2 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/0.5195, allocations: 0 / 443.2 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.794e-06/0.5195, allocations: 0 / 443.2 MB, free: 192 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002594/0.5198, allocations: 3.938 kB / 443.2 MB, free: 188 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.01865/0.5385, allocations: 3.81 MB / 447 MB, free: 12.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.5386, allocations: 8.031 kB / 447 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003784/0.5424, allocations: 428.5 kB / 447.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008783/0.5512, allocations: 2.178 MB / 449.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003962/0.5517, allocations: 221.8 kB / 449.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.5531, allocations: 284 kB / 450.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01706/0.5702, allocations: 4.191 MB / 454.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.5704, allocations: 0 / 454.3 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008159/0.5712, allocations: 120 kB / 454.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003487/0.5716, allocations: 141.9 kB / 454.6 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.5853, allocations: 3.497 MB / 458.1 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04213/0.6275, allocations: 10.76 MB / 468.8 MB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006382/0.634, allocations: 2.646 MB / 471.5 MB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005448/0.6395, allocations: 1.497 MB / 473 MB, free: 1.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.64, allocations: 126.1 kB / 473.1 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.892e-05/0.6401, allocations: 51.55 kB / 473.1 MB, free: 1.617 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 1.078e-05/0.6401, allocations: 0 / 473.1 MB, free: 1.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01981/0.66, allocations: 5.164 MB / 478.3 MB, free: 12.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.6601, allocations: 94.42 kB / 478.4 MB, free: 12.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/0.6658, allocations: 1.914 MB / 480.3 MB, free: 10.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004465/0.6663, allocations: 49.7 kB / 480.4 MB, free: 10.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001912/0.6682, allocations: 1.322 MB / 481.7 MB, free: 8.977 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001014/0.6693, allocations: 457.4 kB / 482.1 MB, free: 8.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008219/0.6701, allocations: 279.3 kB / 482.4 MB, free: 8.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.6703, allocations: 309.1 kB / 482.7 MB, free: 7.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/0.673, allocations: 0.812 MB / 483.5 MB, free: 7.125 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003143/0.6762, allocations: 1.186 MB / 484.7 MB, free: 5.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.6824, allocations: 2.082 MB / 486.8 MB, free: 3.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/0.6825, allocations: 7.938 kB / 486.8 MB, free: 3.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009432/0.6919, allocations: 2.523 MB / 489.3 MB, free: 1.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.894e-05/0.692, allocations: 8 kB / 489.3 MB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.683e-05/0.6921, allocations: 11.98 kB / 489.3 MB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003317/0.6954, allocations: 479.1 kB / 489.8 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/0.6983, allocations: 335.5 kB / 490.1 MB, free: 216 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.709, allocations: 4.384 MB / 494.5 MB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.7117, allocations: 83.83 kB / 494.6 MB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000364/0.7121, allocations: 60.06 kB / 494.7 MB, free: 11.55 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.003477/0.7156, allocations: 1.063 MB / 495.7 MB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.7167, allocations: 189.7 kB / 495.9 MB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/0.7239, allocations: 2.153 MB / 498.1 MB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.724, allocations: 16 kB / 498.1 MB, free: 8.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.7241, allocations: 4 kB / 498.1 MB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/0.7241, allocations: 11.97 kB / 498.1 MB, free: 8.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01896/0.7431, allocations: 5.166 MB / 0.4915 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/0.7432, allocations: 4 kB / 0.4915 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002301/0.7455, allocations: 227.6 kB / 0.4917 GB, free: 2.598 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003706/0.7493, allocations: 456.4 kB / 0.4921 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/0.7496, allocations: 31.98 kB / 0.4921 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.7599, allocations: 4.304 MB / 0.4963 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.76, allocations: 8.062 kB / 0.4964 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.7701, allocations: 3.248 MB / 0.4995 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/0.7724, allocations: 466.7 kB / 0.5 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006534/0.773, allocations: 24 kB / 0.5 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/0.7749, allocations: 95.95 kB / 0.5001 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003917/0.7753, allocations: 100.7 kB / 0.5002 GB, free: 9.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.7754, allocations: 43.92 kB / 0.5002 GB, free: 9.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003625/0.7791, allocations: 1.346 MB / 0.5015 GB, free: 8.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7791, allocations: 0 / 0.5015 GB, free: 8.301 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003615/0.7827, allocations: 0.5508 MB / 0.5021 GB, free: 7.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].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 (104): * Single equations (assignments): 99 * 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 Backend phase and start with SimCode phase: time 0.001004/0.7838, allocations: 228.5 kB / 0.5023 GB, free: 7.527 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007069/0.7909, allocations: 2.199 MB / 0.5044 GB, free: 5.312 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.7909, allocations: 3.938 kB / 0.5044 GB, free: 5.309 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004175/0.7951, allocations: 1.208 MB / 0.5056 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004696/0.7999, allocations: 0.5048 MB / 0.5061 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.8192, allocations: 5.698 MB / 0.5117 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004138/0.8233, allocations: 2.367 MB / 0.514 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/0.8246, allocations: 139.4 kB / 0.5141 GB, free: 11.29 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.8246, allocations: 0 / 0.5141 GB, free: 11.29 MB / 446.1 MB Notification: Performance of Templates: time 0.4447/1.269, allocations: 51.58 MB / 0.5645 GB, free: 110.7 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