Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 107.4 kB / 17.15 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 51.92 kB / 280 MB, free: 3.594 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1185, allocations: 46.64 MB / 326.6 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009565/0.1282, allocations: 7.666 MB / 334.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007153/0.1354, allocations: 2.7 MB / 337 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.1378, allocations: 55.69 kB / 337 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.1395, allocations: 489.4 kB / 337.5 MB, free: 9.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.1423, allocations: 0.688 MB / 338.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1435, allocations: 379.6 kB / 338.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005085/0.1486, allocations: 3.784 MB / 342.3 MB, free: 5.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003754/0.1523, allocations: 2.812 MB / 345.2 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004214/0.1566, allocations: 1.421 MB / 346.6 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003701/0.1603, allocations: 1.942 MB / 348.5 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006869/0.161, allocations: 292 kB / 348.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.1625, allocations: 0.515 MB / 349.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.1636, allocations: 1.059 MB / 350.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002317/0.1659, allocations: 1.777 MB / 352.2 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005979/0.1719, allocations: 5.904 MB / 358.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.1719, allocations: 0 / 358.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1719, allocations: 0 / 358.1 MB, free: 5.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002073/0.1722, allocations: 0 / 358.1 MB, free: 5.266 MB / 302.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.009341/0.1815, allocations: 3.783 MB / 361.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.1816, allocations: 8.031 kB / 361.9 MB, free: 1.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.1828, allocations: 388.6 kB / 362.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/0.1861, allocations: 1.952 MB / 364.2 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001909/0.1863, allocations: 221.8 kB / 364.4 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000425/0.1867, allocations: 287.7 kB / 364.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008066/0.1948, allocations: 4.191 MB / 368.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.102e-05/0.1949, allocations: 0 / 368.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.1952, allocations: 120 kB / 369 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.1954, allocations: 137.9 kB / 369.1 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006735/0.2022, allocations: 3.482 MB / 372.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2879/0.4901, allocations: 10.94 MB / 383.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.4933, allocations: 2.636 MB / 386.2 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00271/0.496, allocations: 1.477 MB / 387.7 MB, free: 43.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.4963, allocations: 124.7 kB / 387.8 MB, free: 43.71 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.4964, allocations: 55.53 kB / 387.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.268e-06/0.4964, allocations: 0 / 387.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01069/0.5071, allocations: 5.281 MB / 393.1 MB, free: 41.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.5072, allocations: 94.2 kB / 393.2 MB, free: 41.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.5105, allocations: 1.911 MB / 395.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000182/0.5107, allocations: 50.41 kB / 395.2 MB, free: 40.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009562/0.5117, allocations: 1.322 MB / 396.5 MB, free: 39.58 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.5121, allocations: 453.4 kB / 396.9 MB, free: 39.24 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/0.5126, allocations: 268.7 kB / 397.2 MB, free: 39.11 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.5127, allocations: 304.8 kB / 397.5 MB, free: 38.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.5138, allocations: 0.8203 MB / 398.3 MB, free: 38.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.515, allocations: 1.181 MB / 399.5 MB, free: 37.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0026/0.5176, allocations: 2.093 MB / 401.6 MB, free: 36.37 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.5176, allocations: 3.156 kB / 401.6 MB, free: 36.37 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003953/0.5216, allocations: 2.532 MB / 404.1 MB, free: 35.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5216, allocations: 7.469 kB / 404.1 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.5217, allocations: 16.41 kB / 404.2 MB, free: 35.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.5234, allocations: 481 kB / 404.6 MB, free: 34.81 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.5247, allocations: 331.7 kB / 404.9 MB, free: 34.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.529, allocations: 4.065 MB / 409 MB, free: 31.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001978/0.531, allocations: 87.98 kB / 409.1 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.5312, allocations: 60 kB / 409.2 MB, free: 31.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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.002219/0.5334, allocations: 1.048 MB / 410.2 MB, free: 30.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008136/0.5342, allocations: 189.7 kB / 410.4 MB, free: 29.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.5377, allocations: 2.147 MB / 412.5 MB, free: 27.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4e-05/0.5378, allocations: 19.98 kB / 412.6 MB, free: 27.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.5378, allocations: 10.06 kB / 412.6 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.5378, allocations: 7.984 kB / 412.6 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008689/0.5465, allocations: 5.194 MB / 417.8 MB, free: 22.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5466, allocations: 0 / 417.8 MB, free: 22.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009571/0.5476, allocations: 231.6 kB / 418 MB, free: 22.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/0.5494, allocations: 456.5 kB / 418.4 MB, free: 21.8 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5495, allocations: 27.98 kB / 418.5 MB, free: 21.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00424/0.5537, allocations: 3.974 MB / 422.4 MB, free: 17.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.5538, allocations: 4 kB / 422.4 MB, free: 17.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.5585, allocations: 3.253 MB / 425.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.5598, allocations: 454.8 kB / 426.1 MB, free: 13.9 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006139/0.5604, allocations: 24 kB / 426.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.5615, allocations: 104 kB / 426.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.5618, allocations: 94.33 kB / 426.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.246e-05/0.5619, allocations: 40 kB / 426.4 MB, free: 13.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001734/0.5637, allocations: 1.334 MB / 427.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5637, allocations: 0 / 427.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002013/0.5657, allocations: 0.5685 MB / 428.3 MB, free: 11.76 MB / 318.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.0006293/0.5664, allocations: 206.1 kB / 428.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003167/0.5695, allocations: 2.191 MB / 430.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.5696, allocations: 2 kB / 430.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.5714, allocations: 1.218 MB / 431.9 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002912/0.5743, allocations: 0.4933 MB / 432.4 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/0.5846, allocations: 7.047 MB / 439.5 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/0.587, allocations: 2.426 MB / 441.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001842/0.5889, allocations: 499.4 kB / 442.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.5893, allocations: 127.4 kB / 442.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5893, allocations: 0 / 442.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of Templates: time 0.05961/0.6489, allocations: 29.07 MB / 471.6 MB, free: 400 kB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches