Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 112.3 kB / 17.73 MB, free: 5.359 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.001596/0.001596, allocations: 187.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.807/1.807, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001499/0.001499, allocations: 48.36 kB / 328.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 46.62 MB / 375.1 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.271/0.3853, allocations: 5.838 MB / 381 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.3904, allocations: 2.136 MB / 383.1 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0011/0.3916, allocations: 34.59 kB / 383.2 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.3931, allocations: 399.9 kB / 383.5 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00284/0.396, allocations: 0.5503 MB / 384.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.397, allocations: 235.6 kB / 384.3 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004083/0.4011, allocations: 2.284 MB / 386.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00275/0.4038, allocations: 1.891 MB / 388.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.407, allocations: 1.044 MB / 389.5 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.4101, allocations: 1.211 MB / 390.8 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006556/0.4108, allocations: 287.4 kB / 391 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001359/0.4122, allocations: 371.5 kB / 391.4 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.4129, allocations: 0.7025 MB / 392.1 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001897/0.4148, allocations: 1.231 MB / 393.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005465/0.4203, allocations: 3.776 MB / 397.1 MB, free: 3.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.4203, allocations: 4 kB / 397.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.4203, allocations: 0 / 397.1 MB, free: 3.488 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001458/0.4205, allocations: 1.969 kB / 397.1 MB, free: 3.488 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006755/0.4273, allocations: 2.366 MB / 399.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/0.4273, allocations: 17.47 kB / 399.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008783/0.4282, allocations: 250.3 kB / 399.7 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.4304, allocations: 1.243 MB / 401 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.4305, allocations: 138.4 kB / 401.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.4308, allocations: 171.4 kB / 401.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005244/0.4361, allocations: 2.537 MB / 403.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.4361, allocations: 5.281 kB / 403.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.4363, allocations: 75.58 kB / 403.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001226/0.4365, allocations: 95.58 kB / 404 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004166/0.4406, allocations: 2.108 MB / 406.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.454, allocations: 7.368 MB / 413.5 MB, free: 8.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.4556, allocations: 1.274 MB / 414.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007168/0.4563, allocations: 474.9 kB / 415.2 MB, free: 7.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/0.4566, allocations: 109.5 kB / 415.3 MB, free: 6.938 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.4566, allocations: 43 kB / 415.4 MB, free: 6.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 3.987e-06/0.4566, allocations: 3.984 kB / 415.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.004599/0.4612, allocations: 2.261 MB / 417.6 MB, free: 4.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/0.4613, allocations: 85.55 kB / 417.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/0.4636, allocations: 1.508 MB / 419.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.776e-05/0.4637, allocations: 33.7 kB / 419.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.4644, allocations: 0.9827 MB / 420.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4645, allocations: 201.3 kB / 420.4 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.4649, allocations: 238.6 kB / 420.7 MB, free: 1.449 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4651, allocations: 357.9 kB / 421 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.4658, allocations: 462.3 kB / 421.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.4669, allocations: 1.087 MB / 422.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001893/0.4688, allocations: 1.623 MB / 424.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-06/0.4689, allocations: 8 kB / 424.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002892/0.4718, allocations: 1.687 MB / 425.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.4718, allocations: 24.03 kB / 425.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.4718, allocations: 24 kB / 425.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007621/0.4726, allocations: 172.7 kB / 426.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/0.4735, allocations: 279.5 kB / 426.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/0.4759, allocations: 2.361 MB / 428.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.4773, allocations: 83.67 kB / 428.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.4774, allocations: 68 kB / 428.9 MB, free: 8.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001282/0.4787, allocations: 0.704 MB / 429.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.479, allocations: 134.4 kB / 429.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.4805, allocations: 0.8335 MB / 430.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.4806, allocations: 8 kB / 430.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4806, allocations: 8.188 kB / 430.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4806, allocations: 3.984 kB / 430.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004132/0.4847, allocations: 2.494 MB / 433 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4847, allocations: 4 kB / 433.1 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003702/0.4851, allocations: 95.88 kB / 433.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006488/0.4858, allocations: 164.9 kB / 433.3 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.4858, allocations: 16 kB / 433.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.4881, allocations: 2.302 MB / 435.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.495e-05/0.4881, allocations: 4.031 kB / 435.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.4903, allocations: 1.317 MB / 436.9 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006852/0.491, allocations: 287.5 kB / 437.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.4911, allocations: 12.06 kB / 437.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006145/0.4918, allocations: 47.97 kB / 437.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.4919, allocations: 51.81 kB / 437.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.4919, allocations: 24 kB / 437.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00159/0.4935, allocations: 1.036 MB / 438.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4936, allocations: 0 / 438.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001721/0.4953, allocations: 352 kB / 438.7 MB, free: 14.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].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 (46): * Single equations (assignments): 45 * Array equations: 0 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000483/0.4958, allocations: 189.9 kB / 438.9 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002072/0.4979, allocations: 1.156 MB / 440.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4979, allocations: 0 / 440.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007709/0.4987, allocations: 0.512 MB / 440.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.5004, allocations: 366.1 kB / 440.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00568/0.506, allocations: 3.172 MB / 444.1 MB, free: 8.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001573/0.5077, allocations: 1.71 MB / 445.8 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.509, allocations: 319.3 kB / 446.1 MB, free: 6.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.5093, allocations: 91.38 kB / 446.2 MB, free: 6.625 MB / 366.1 MB Notification: Performance of SimCode: time 2.174e-06/0.5093, allocations: 0 / 446.2 MB, free: 6.625 MB / 366.1 MB Notification: Performance of Templates: time 0.04085/0.5501, allocations: 18.98 MB / 465.2 MB, free: 3.605 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches