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.001684/0.001684, allocations: 109.4 kB / 17.73 MB, free: 5.363 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.001165/0.001165, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.781/1.781, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.002411/0.002411, allocations: 55.91 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.165, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.2734/0.4384, allocations: 7.714 MB / 382.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.4448, allocations: 2.736 MB / 385.6 MB, free: 7.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001828/0.4467, allocations: 57.81 kB / 385.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.4484, allocations: 0.5792 MB / 386.2 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002972/0.4514, allocations: 0.7563 MB / 387 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.4528, allocations: 440 kB / 387.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007735/0.4605, allocations: 3.414 MB / 390.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007581/0.4682, allocations: 3.433 MB / 394.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005845/0.4741, allocations: 1.656 MB / 395.9 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006129/0.4802, allocations: 2.019 MB / 397.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002742/0.483, allocations: 464.2 kB / 398.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.487, allocations: 0.6689 MB / 399.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003339/0.4903, allocations: 1.244 MB / 400.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006943/0.4973, allocations: 1.966 MB / 402.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.5107, allocations: 6.096 MB / 408.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.5107, allocations: 1.781 kB / 408.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5107, allocations: 5.094 kB / 408.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.511, allocations: 0 / 408.4 MB, free: 12.04 MB / 334.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.0199/0.531, allocations: 3.777 MB / 412.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/0.531, allocations: 9.625 kB / 412.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/0.5329, allocations: 389 kB / 412.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004558/0.5374, allocations: 1.968 MB / 414.5 MB, free: 7.965 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.5377, allocations: 224.7 kB / 414.7 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.5382, allocations: 286.8 kB / 415 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008615/0.5468, allocations: 4.179 MB / 419.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.5469, allocations: 0 / 419.2 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.5472, allocations: 124 kB / 419.3 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.5474, allocations: 145.9 kB / 419.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0066/0.554, allocations: 3.478 MB / 422.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0217/0.5758, allocations: 10.79 MB / 433.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.5789, allocations: 2.638 MB / 436.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.5815, allocations: 1.501 MB / 437.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002888/0.5818, allocations: 122.1 kB / 438 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/0.5818, allocations: 48.12 kB / 438 MB, free: 72 kB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/0.5818, allocations: 0 / 438 MB, free: 72 kB / 350.1 MB Notification: Performance of matching and sorting (n=133): time 0.01096/0.5928, allocations: 5.29 MB / 443.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.62e-05/0.5929, allocations: 90.42 kB / 443.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005183/0.5981, allocations: 1.909 MB / 445.3 MB, free: 8.691 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002713/0.5984, allocations: 49.7 kB / 445.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.5999, allocations: 1.319 MB / 446.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006972/0.6006, allocations: 461.3 kB / 447.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007066/0.6013, allocations: 275.3 kB / 447.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6015, allocations: 305.1 kB / 447.7 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.603, allocations: 0.812 MB / 448.5 MB, free: 5.453 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.6047, allocations: 1.187 MB / 449.7 MB, free: 4.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003162/0.6079, allocations: 2.099 MB / 451.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.6079, allocations: 0 / 451.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00514/0.6131, allocations: 2.531 MB / 454.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.6132, allocations: 11.91 kB / 454.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.6132, allocations: 16 kB / 454.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.6151, allocations: 486.5 kB / 454.8 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/0.6166, allocations: 327.5 kB / 455.1 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/0.6225, allocations: 4.403 MB / 459.5 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.6248, allocations: 83.83 kB / 459.6 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004954/0.6253, allocations: 60 kB / 459.7 MB, free: 9.82 MB / 382.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.003885/0.6292, allocations: 1.048 MB / 460.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.6306, allocations: 197.7 kB / 460.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/0.6374, allocations: 2.137 MB / 463.1 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-05/0.6376, allocations: 23.98 kB / 463.1 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.6376, allocations: 7.938 kB / 463.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.062e-05/0.6376, allocations: 3.984 kB / 463.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.6547, allocations: 5.174 MB / 468.3 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.6548, allocations: 4 kB / 468.3 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.6563, allocations: 219.7 kB / 468.5 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/0.6589, allocations: 468.6 kB / 469 MB, free: 440 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000286/0.6593, allocations: 35.98 kB / 469 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008493/0.6678, allocations: 4.299 MB / 473.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.779e-06/0.6678, allocations: 7.938 kB / 473.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009458/0.6773, allocations: 3.244 MB / 476.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/0.6794, allocations: 458.7 kB / 477 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/0.6805, allocations: 31.98 kB / 477 MB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/0.6829, allocations: 103.9 kB / 477.1 MB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005377/0.6835, allocations: 100.7 kB / 477.2 MB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/0.6837, allocations: 39.98 kB / 477.3 MB, free: 7.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00478/0.6885, allocations: 1.334 MB / 478.6 MB, free: 6.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.182e-06/0.6886, allocations: 4 kB / 478.6 MB, free: 6.586 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004818/0.6934, allocations: 0.5547 MB / 479.1 MB, free: 6.031 MB / 398.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.001177/0.6946, allocations: 224 kB / 479.4 MB, free: 5.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.6996, allocations: 2.2 MB / 481.6 MB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/0.6996, allocations: 0 / 481.6 MB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002611/0.7023, allocations: 1.219 MB / 482.8 MB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00452/0.7068, allocations: 0.4973 MB / 483.3 MB, free: 1.863 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.7207, allocations: 5.738 MB / 489 MB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003652/0.7244, allocations: 2.423 MB / 491.4 MB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001788/0.7262, allocations: 491.4 kB / 491.9 MB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/0.7267, allocations: 139.4 kB / 492.1 MB, free: 8.988 MB / 414.1 MB Notification: Performance of SimCode: time 1.273e-06/0.7267, allocations: 0 / 492.1 MB, free: 8.988 MB / 414.1 MB Notification: Performance of Templates: time 0.06123/0.7879, allocations: 30.72 MB / 0.5105 GB, free: 10.2 MB / 446.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","/var/lib/jenkins/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