Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 104.5 kB / 16.92 MB, free: 6.199 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.001835/0.001835, allocations: 191.4 kB / 17.85 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.242/2.242, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 42.89 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1371, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02513/0.1622, allocations: 13.93 MB / 364.1 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.176, allocations: 3.777 MB / 367.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003817/0.1798, allocations: 99.75 kB / 368 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2405/0.4204, allocations: 5.555 MB / 373.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005018/0.4254, allocations: 1.513 MB / 375 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.4285, allocations: 1.068 MB / 376.1 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007428/0.436, allocations: 6.238 MB / 382.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02024/0.4562, allocations: 13.71 MB / 396 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006548/0.4628, allocations: 3.398 MB / 399.4 MB, free: 0 / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006643/0.4695, allocations: 3.861 MB / 403.3 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002343/0.4719, allocations: 0.8867 MB / 404.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.4756, allocations: 1.075 MB / 405.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.4783, allocations: 1.764 MB / 407 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005787/0.4841, allocations: 3.571 MB / 410.6 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.4978, allocations: 11.87 MB / 422.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4979, allocations: 0 / 422.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4979, allocations: 0 / 422.5 MB, free: 9.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003093/0.4982, allocations: 0 / 422.5 MB, free: 9.836 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.03164/0.5299, allocations: 7.776 MB / 430.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.5299, allocations: 8.031 kB / 430.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005446/0.5354, allocations: 1.05 MB / 431.3 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04347/0.5789, allocations: 2.888 MB / 434.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/0.5923, allocations: 3.618 MB / 437.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007362/0.5931, allocations: 486.2 kB / 438.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002695/0.5958, allocations: 0.6217 MB / 438.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0344/0.6303, allocations: 9.339 MB / 448.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003511/0.6307, allocations: 12.06 kB / 448.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/0.6329, allocations: 260.5 kB / 448.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005647/0.6335, allocations: 313.5 kB / 448.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02672/0.6602, allocations: 7.966 MB / 456.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07886/0.7391, allocations: 28.58 MB / 485.4 MB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/0.7594, allocations: 11.71 MB / 497.1 MB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004754/0.7642, allocations: 1.618 MB / 498.7 MB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003646/0.7646, allocations: 140.5 kB / 498.8 MB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/0.7647, allocations: 56.56 kB / 498.9 MB, free: 10.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=238): time 7.855e-06/0.7647, allocations: 0 / 498.9 MB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=238): time 0.01558/0.7803, allocations: 4.17 MB / 0.4913 GB, free: 6.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.7805, allocations: 103.1 kB / 0.4914 GB, free: 6.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005754/0.7863, allocations: 1.899 MB / 0.4932 GB, free: 4.746 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004449/0.7868, allocations: 65.7 kB / 0.4933 GB, free: 4.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002871/0.7897, allocations: 2.55 MB / 0.4958 GB, free: 2.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0015/0.7912, allocations: 0.8056 MB / 0.4966 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002164/0.7934, allocations: 0.6715 MB / 0.4972 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.7936, allocations: 309.1 kB / 0.4975 GB, free: 332 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00435/0.7979, allocations: 1.398 MB / 0.4989 GB, free: 14.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005793/0.8038, allocations: 2.601 MB / 0.5014 GB, free: 11.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/0.8143, allocations: 4.233 MB / 0.5056 GB, free: 7.031 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-05/0.8144, allocations: 12 kB / 0.5056 GB, free: 7.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01405/0.8285, allocations: 4.519 MB / 0.51 GB, free: 2.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-05/0.8286, allocations: 20 kB / 0.51 GB, free: 2.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-05/0.8287, allocations: 40 kB / 0.51 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.8301, allocations: 307.1 kB / 0.5103 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005454/0.8356, allocations: 0.7878 MB / 0.5111 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009588/0.8452, allocations: 5.038 MB / 0.516 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/0.85, allocations: 412 kB / 0.5164 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000815/0.8508, allocations: 164 kB / 0.5166 GB, free: 11.46 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006081/0.8569, allocations: 2.191 MB / 0.5187 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008145/0.8578, allocations: 209.4 kB / 0.5189 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009881/0.8677, allocations: 3.185 MB / 0.522 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.8677, allocations: 28 kB / 0.522 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.8678, allocations: 11.94 kB / 0.5221 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.876e-05/0.8678, allocations: 15.89 kB / 0.5221 GB, free: 5.785 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.214/1.082, allocations: 11.78 MB / 0.5336 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-05/1.082, allocations: 14.69 kB / 0.5336 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.084, allocations: 432.1 kB / 0.534 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008541/1.085, allocations: 277.9 kB / 0.5343 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/1.085, allocations: 65.31 kB / 0.5343 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005255/1.09, allocations: 4.99 MB / 0.5392 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-05/1.09, allocations: 19.5 kB / 0.5392 GB, free: 134.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008515/1.099, allocations: 5.002 MB / 0.5441 GB, free: 131.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.1, allocations: 0.5323 MB / 0.5446 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/1.101, allocations: 62.98 kB / 0.5447 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.102, allocations: 123.9 kB / 0.5448 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/1.103, allocations: 210.1 kB / 0.545 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001741/1.103, allocations: 86.64 kB / 0.5451 GB, free: 131.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0022/1.105, allocations: 1.288 MB / 0.5463 GB, free: 131 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.105, allocations: 0 / 0.5463 GB, free: 131 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006608/1.112, allocations: 1.434 MB / 0.5477 GB, free: 130.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.plug_p.reference.gamma) * 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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007466/1.119, allocations: 5.662 MB / 0.5533 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006907/1.126, allocations: 4.154 MB / 0.5573 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/1.126, allocations: 3.875 kB / 0.5573 GB, free: 125.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002099/1.128, allocations: 1.696 MB / 0.559 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/1.132, allocations: 0.5087 MB / 0.5595 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04435/1.176, allocations: 30.59 MB / 0.5894 GB, free: 99.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00495/1.181, allocations: 4.016 MB / 0.5933 GB, free: 94.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004948/1.186, allocations: 1.199 MB / 0.5944 GB, free: 93.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004115/1.19, allocations: 1.991 MB / 0.5964 GB, free: 91.77 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/1.19, allocations: 0 / 0.5964 GB, free: 91.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1263/1.316, allocations: 64.48 MB / 0.6594 GB, free: 27.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.2/17.52, allocations: 3.75 kB / 0.6594 GB, free: 27.59 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches