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.001604/0.001604, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001877/0.001877, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.508/1.508, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001289/0.001289, allocations: 47.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.09033, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009476/0.09985, allocations: 7.72 MB / 336.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005411/0.1053, allocations: 2.723 MB / 339.2 MB, free: 9.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/0.1067, allocations: 59.69 kB / 339.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.1082, allocations: 0.5586 MB / 339.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.1105, allocations: 0.7262 MB / 340.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1116, allocations: 443.4 kB / 340.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003788/0.1154, allocations: 3.405 MB / 344.4 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00376/0.1192, allocations: 3.445 MB / 347.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003088/0.1223, allocations: 1.65 MB / 349.4 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003202/0.1255, allocations: 2.02 MB / 351.5 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008303/0.1264, allocations: 460 kB / 351.9 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.1277, allocations: 0.6714 MB / 352.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001169/0.1289, allocations: 1.235 MB / 353.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002453/0.1313, allocations: 1.972 MB / 355.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.137, allocations: 6.087 MB / 361.9 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.137, allocations: 4 kB / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.137, allocations: 0 / 361.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001476/0.1372, allocations: 0 / 361.9 MB, free: 2.422 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.008984/0.1462, allocations: 3.779 MB / 365.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1463, allocations: 8.031 kB / 365.7 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.1474, allocations: 396.5 kB / 366.1 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.1514, allocations: 1.96 MB / 368 MB, free: 12.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.1516, allocations: 225.8 kB / 368.2 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004843/0.1521, allocations: 291.9 kB / 368.5 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008294/0.1604, allocations: 4.179 MB / 372.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.82e-05/0.1605, allocations: 4 kB / 372.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.1608, allocations: 123.9 kB / 372.8 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.161, allocations: 141.9 kB / 373 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006412/0.1674, allocations: 3.482 MB / 376.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1926/0.36, allocations: 10.78 MB / 387.2 MB, free: 46.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/0.3627, allocations: 2.649 MB / 389.9 MB, free: 44.7 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002342/0.3651, allocations: 1.484 MB / 391.4 MB, free: 44.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.3654, allocations: 123.9 kB / 391.5 MB, free: 44.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3654, allocations: 44.84 kB / 391.5 MB, free: 44.1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.899e-06/0.3654, allocations: 1.438 kB / 391.5 MB, free: 44.1 MB / 318.1 MB Notification: Performance of matching and sorting (n=133): time 0.009264/0.3747, allocations: 5.286 MB / 396.8 MB, free: 41.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.3748, allocations: 91.17 kB / 396.9 MB, free: 41.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.3779, allocations: 1.912 MB / 398.8 MB, free: 40.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002729/0.3782, allocations: 49.58 kB / 398.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006939/0.3789, allocations: 1.324 MB / 400.2 MB, free: 39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.3793, allocations: 453 kB / 400.6 MB, free: 38.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/0.3796, allocations: 275.8 kB / 400.9 MB, free: 38.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.3797, allocations: 305.1 kB / 401.2 MB, free: 38.16 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.3808, allocations: 0.8173 MB / 402 MB, free: 37.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.382, allocations: 1.187 MB / 403.2 MB, free: 36.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.3841, allocations: 2.081 MB / 405.3 MB, free: 35.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.3842, allocations: 7.906 kB / 405.3 MB, free: 35.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003647/0.3878, allocations: 2.532 MB / 407.8 MB, free: 33.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.3879, allocations: 8 kB / 407.8 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.3879, allocations: 12 kB / 407.8 MB, free: 33.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001718/0.3896, allocations: 476.9 kB / 408.3 MB, free: 33.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.3909, allocations: 335.5 kB / 408.6 MB, free: 32.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.3956, allocations: 4.403 MB / 413 MB, free: 28.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.3974, allocations: 87.83 kB / 413.1 MB, free: 28.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/0.3976, allocations: 59.98 kB / 413.2 MB, free: 28.22 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.001954/0.3996, allocations: 1.048 MB / 414.2 MB, free: 27.17 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006856/0.4003, allocations: 193.7 kB / 414.4 MB, free: 26.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003552/0.4039, allocations: 2.149 MB / 416.6 MB, free: 24.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.671e-05/0.4039, allocations: 17.08 kB / 416.6 MB, free: 24.8 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.4039, allocations: 4.844 kB / 416.6 MB, free: 24.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.404, allocations: 7.969 kB / 416.6 MB, free: 24.79 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008841/0.4128, allocations: 5.175 MB / 421.8 MB, free: 19.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.4129, allocations: 4 kB / 421.8 MB, free: 19.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009078/0.4138, allocations: 227.9 kB / 422 MB, free: 19.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.4154, allocations: 456.8 kB / 422.4 MB, free: 18.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.4156, allocations: 37.19 kB / 422.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00419/0.4198, allocations: 4.286 MB / 426.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4198, allocations: 4.031 kB / 426.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.4241, allocations: 3.26 MB / 430 MB, free: 11.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001205/0.4253, allocations: 455.5 kB / 430.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.4257, allocations: 31.52 kB / 430.5 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4267, allocations: 99.95 kB / 430.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.4269, allocations: 92.81 kB / 430.7 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.023e-05/0.427, allocations: 46.88 kB / 430.7 MB, free: 10.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.4286, allocations: 1.338 MB / 432.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4286, allocations: 0 / 432.1 MB, free: 9.051 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001747/0.4304, allocations: 0.5528 MB / 432.6 MB, free: 8.5 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.0005134/0.4309, allocations: 226.2 kB / 432.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003019/0.4339, allocations: 2.195 MB / 435 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.198e-06/0.434, allocations: 4 kB / 435 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.4358, allocations: 1.223 MB / 436.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.4381, allocations: 0.5092 MB / 436.8 MB, free: 4.328 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008688/0.4468, allocations: 5.724 MB / 442.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.4492, allocations: 2.435 MB / 444.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001618/0.4509, allocations: 491.4 kB / 445.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.4514, allocations: 135.4 kB / 445.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4514, allocations: 0 / 445.6 MB, free: 11.48 MB / 334.1 MB Notification: Performance of Templates: time 0.05403/0.5054, allocations: 30.19 MB / 475.7 MB, free: 13.28 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches