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.001119/0.001119, allocations: 114.2 kB / 17.28 MB, free: 6.219 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.001172/0.001172, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.919/1.919, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.002165/0.002165, allocations: 51.92 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1449, allocations: 46.63 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01015/0.1551, allocations: 7.673 MB / 334.5 MB, free: 13.08 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006908/0.1621, allocations: 2.684 MB / 337.1 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.1647, allocations: 51.69 kB / 337.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.1671, allocations: 489.4 kB / 337.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00391/0.171, allocations: 0.6646 MB / 338.3 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.1728, allocations: 395.6 kB / 338.7 MB, free: 8.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00588/0.1787, allocations: 3.39 MB / 342.1 MB, free: 5.398 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005551/0.1843, allocations: 3.445 MB / 345.6 MB, free: 1.895 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004088/0.1884, allocations: 1.654 MB / 347.2 MB, free: 252 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003932/0.1924, allocations: 2.063 MB / 349.3 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001713/0.1941, allocations: 464 kB / 349.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003003/0.1971, allocations: 0.6714 MB / 350.4 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001897/0.199, allocations: 1.235 MB / 351.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00348/0.2025, allocations: 1.972 MB / 353.6 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.2089, allocations: 6.045 MB / 359.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2089, allocations: 0 / 359.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2089, allocations: 0 / 359.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001767/0.2091, allocations: 4 kB / 359.7 MB, free: 3.766 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.01143/0.2205, allocations: 3.767 MB / 363.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.2206, allocations: 12.03 kB / 363.4 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.2218, allocations: 392.5 kB / 363.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.2251, allocations: 1.956 MB / 365.8 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.2253, allocations: 225.8 kB / 366 MB, free: 13.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.2257, allocations: 283.9 kB / 366.3 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007308/0.233, allocations: 4.187 MB / 370.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.2331, allocations: 0 / 370.5 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002761/0.2334, allocations: 123.9 kB / 370.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.2336, allocations: 141.9 kB / 370.7 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005943/0.2395, allocations: 3.49 MB / 374.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3194/0.559, allocations: 10.93 MB / 385.1 MB, free: 46.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.5631, allocations: 2.639 MB / 387.8 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003072/0.5662, allocations: 1.48 MB / 389.3 MB, free: 44.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000362/0.5666, allocations: 128.8 kB / 389.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.5668, allocations: 48.81 kB / 389.4 MB, free: 44.13 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 9.548e-06/0.5668, allocations: 3.062 kB / 389.4 MB, free: 44.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.01219/0.579, allocations: 5.292 MB / 394.7 MB, free: 41.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/0.5791, allocations: 89.67 kB / 394.8 MB, free: 41.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.583, allocations: 1.923 MB / 396.7 MB, free: 40.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001921/0.5832, allocations: 45.58 kB / 396.8 MB, free: 40.7 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009399/0.5841, allocations: 1.311 MB / 398.1 MB, free: 39.56 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003997/0.5845, allocations: 463.8 kB / 398.5 MB, free: 39.17 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004857/0.585, allocations: 265.8 kB / 398.8 MB, free: 39.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.5851, allocations: 305.1 kB / 399.1 MB, free: 38.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.5862, allocations: 0.815 MB / 399.9 MB, free: 38.3 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.5876, allocations: 1.185 MB / 401.1 MB, free: 37.42 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.59, allocations: 2.087 MB / 403.2 MB, free: 36.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.59, allocations: 3.625 kB / 403.2 MB, free: 36.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003973/0.594, allocations: 2.526 MB / 405.7 MB, free: 34.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.594, allocations: 15.06 kB / 405.7 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.5941, allocations: 10.94 kB / 405.7 MB, free: 34.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.5959, allocations: 487.8 kB / 406.2 MB, free: 34.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.597, allocations: 331.5 kB / 406.5 MB, free: 34.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.6013, allocations: 4.411 MB / 411 MB, free: 29.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/0.6029, allocations: 83.92 kB / 411 MB, free: 29.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.603, allocations: 63.98 kB / 411.1 MB, free: 29.47 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.001669/0.6047, allocations: 1.044 MB / 412.1 MB, free: 28.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.6052, allocations: 189.8 kB / 412.3 MB, free: 28.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003046/0.6083, allocations: 2.144 MB / 414.5 MB, free: 26.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-05/0.6083, allocations: 16 kB / 414.5 MB, free: 26.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6084, allocations: 4 kB / 414.5 MB, free: 26.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.6084, allocations: 7.969 kB / 414.5 MB, free: 26.04 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008555/0.6169, allocations: 5.192 MB / 419.7 MB, free: 20.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.617, allocations: 5.219 kB / 419.7 MB, free: 20.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008935/0.6179, allocations: 231.6 kB / 419.9 MB, free: 20.56 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001673/0.6196, allocations: 460.5 kB / 420.4 MB, free: 20.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.6197, allocations: 33.08 kB / 420.4 MB, free: 20.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004728/0.6245, allocations: 4.308 MB / 424.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6245, allocations: 0 / 424.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005054/0.6295, allocations: 3.257 MB / 428 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.6309, allocations: 458.7 kB / 428.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006094/0.6315, allocations: 27.98 kB / 428.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/0.6329, allocations: 95.17 kB / 428.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/0.6332, allocations: 99.83 kB / 428.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/0.6334, allocations: 43.98 kB / 428.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002973/0.6364, allocations: 1.338 MB / 430 MB, free: 10.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.6364, allocations: 0.9375 kB / 430 MB, free: 10.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002688/0.6391, allocations: 0.5544 MB / 430.6 MB, free: 9.727 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.0007517/0.6398, allocations: 226.5 kB / 430.8 MB, free: 9.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.005423/0.6453, allocations: 2.874 MB / 433.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.6453, allocations: 0 / 433.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.6473, allocations: 1.225 MB / 434.9 MB, free: 5.391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003571/0.6509, allocations: 0.5027 MB / 435.4 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.6661, allocations: 7.05 MB / 442.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00462/0.6708, allocations: 2.423 MB / 444.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.002586/0.6734, allocations: 495.4 kB / 445.4 MB, free: 10.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008921/0.6743, allocations: 127.4 kB / 445.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of SimCode: time 2.154e-06/0.6744, allocations: 0 / 445.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Templates: time 0.06557/0.7399, allocations: 30.09 MB / 475.6 MB, free: 12.62 MB / 366.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