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.0009646/0.0009648, allocations: 93.94 kB / 16.93 MB, free: 5.984 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.001014/0.001014, allocations: 180.7 kB / 17.82 MB, free: 5.652 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.745/1.745, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004599/0.0004599, allocations: 16.78 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.007908/0.1191, allocations: 6.292 MB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005768/0.1249, allocations: 2.636 MB / 337.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.126, allocations: 55.69 kB / 337.3 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.1272, allocations: 473.5 kB / 337.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.1291, allocations: 0.5919 MB / 338.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.1299, allocations: 287.6 kB / 338.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.1329, allocations: 2.164 MB / 340.8 MB, free: 7.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.1358, allocations: 2.36 MB / 343.2 MB, free: 5.176 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.1378, allocations: 1.117 MB / 344.3 MB, free: 4.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.1403, allocations: 1.432 MB / 345.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004329/0.1407, allocations: 199.9 kB / 345.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009679/0.1417, allocations: 363.7 kB / 346.3 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000808/0.1425, allocations: 0.8803 MB / 347.2 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007784/0.1433, allocations: 0.6602 MB / 347.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004446/0.1478, allocations: 4.944 MB / 352.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1478, allocations: 3.938 kB / 352.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1478, allocations: 0 / 352.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001704/0.148, allocations: 0 / 352.8 MB, free: 11.55 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.007406/0.1554, allocations: 3.182 MB / 355.9 MB, free: 8.309 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1554, allocations: 12.03 kB / 356 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.1569, allocations: 391.7 kB / 356.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003798/0.1607, allocations: 1.89 MB / 358.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.1609, allocations: 225.8 kB / 358.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.1613, allocations: 287.9 kB / 358.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.1687, allocations: 4.148 MB / 362.9 MB, free: 1.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.1688, allocations: 4 kB / 362.9 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.169, allocations: 120 kB / 363 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.1692, allocations: 141.9 kB / 363.1 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.1752, allocations: 3.474 MB / 366.6 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0189/0.1941, allocations: 11 MB / 377.6 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.191/0.3851, allocations: 2.644 MB / 380.3 MB, free: 47.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/0.3855, allocations: 121.6 kB / 380.4 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.49e-05/0.3856, allocations: 51.12 kB / 380.4 MB, free: 47.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.127e-06/0.3856, allocations: 0 / 380.4 MB, free: 47.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01004/0.3957, allocations: 5.556 MB / 386 MB, free: 45.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.3958, allocations: 92.2 kB / 386.1 MB, free: 45.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003203/0.399, allocations: 1.903 MB / 388 MB, free: 44.59 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.3991, allocations: 48.55 kB / 388 MB, free: 44.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008931/0.4, allocations: 1.316 MB / 389.3 MB, free: 43.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.4003, allocations: 458.7 kB / 389.8 MB, free: 43.2 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.4004, allocations: 25.95 kB / 389.8 MB, free: 43.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.4005, allocations: 365 kB / 390.2 MB, free: 42.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.402, allocations: 0.8296 MB / 391 MB, free: 42.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/0.4035, allocations: 1.186 MB / 392.2 MB, free: 41.85 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.405, allocations: 1.025 MB / 393.2 MB, free: 41.44 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.405, allocations: 3.062 kB / 393.2 MB, free: 41.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003933/0.409, allocations: 2.563 MB / 395.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.409, allocations: 9.625 kB / 395.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.409, allocations: 9.625 kB / 395.8 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001809/0.4108, allocations: 0.4933 MB / 396.3 MB, free: 40.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.4121, allocations: 330.3 kB / 396.6 MB, free: 40.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004334/0.4164, allocations: 4.366 MB / 401 MB, free: 37.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.418, allocations: 86.77 kB / 401.1 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.4181, allocations: 63.8 kB / 401.1 MB, free: 37.46 MB / 318.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 (154): * Single equations (assignments): 149 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001696/0.4198, allocations: 1.048 MB / 402.2 MB, free: 36.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004187/0.4203, allocations: 191.8 kB / 402.4 MB, free: 36.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.4231, allocations: 2.178 MB / 404.5 MB, free: 35.6 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/0.4232, allocations: 15.34 kB / 404.6 MB, free: 35.6 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4232, allocations: 7.719 kB / 404.6 MB, free: 35.6 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.4232, allocations: 7.969 kB / 404.6 MB, free: 35.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006839/0.43, allocations: 5.164 MB / 409.7 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4301, allocations: 0 / 409.7 MB, free: 30.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.4309, allocations: 215.7 kB / 409.9 MB, free: 30.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/0.4325, allocations: 494.8 kB / 410.4 MB, free: 30.19 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.411e-05/0.4326, allocations: 31.98 kB / 410.5 MB, free: 30.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.4366, allocations: 4.3 MB / 414.8 MB, free: 25.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.4366, allocations: 4.031 kB / 414.8 MB, free: 25.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004135/0.4407, allocations: 3.304 MB / 418.1 MB, free: 22.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.4418, allocations: 462.8 kB / 418.5 MB, free: 21.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.442, allocations: 28.77 kB / 418.5 MB, free: 21.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.4429, allocations: 105 kB / 418.6 MB, free: 21.78 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/0.4431, allocations: 96.86 kB / 418.7 MB, free: 21.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.879e-05/0.4432, allocations: 33.97 kB / 418.8 MB, free: 21.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001604/0.4448, allocations: 1.323 MB / 420.1 MB, free: 20.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4448, allocations: 0 / 420.1 MB, free: 20.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001829/0.4467, allocations: 0.5626 MB / 420.7 MB, free: 19.78 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (98): * Single equations (assignments): 93 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004501/0.4471, allocations: 182.9 kB / 420.8 MB, free: 19.61 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002831/0.45, allocations: 2.233 MB / 423.1 MB, free: 17.37 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.45, allocations: 0 / 423.1 MB, free: 17.37 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001522/0.4515, allocations: 1.226 MB / 424.3 MB, free: 16.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.4532, allocations: 479.2 kB / 424.8 MB, free: 15.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008502/0.4617, allocations: 6.743 MB / 431.5 MB, free: 8.898 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.4633, allocations: 2.482 MB / 434 MB, free: 6.387 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001399/0.4647, allocations: 487.4 kB / 434.5 MB, free: 5.906 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.4651, allocations: 123.4 kB / 434.6 MB, free: 5.785 MB / 318.1 MB Notification: Performance of SimCode: time 1.813e-06/0.4651, allocations: 8 kB / 434.6 MB, free: 5.777 MB / 318.1 MB Notification: Performance of Templates: time 0.04575/0.5108, allocations: 27.97 MB / 462.6 MB, free: 9.781 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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