Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",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.001124/0.001125, allocations: 110.5 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.001131/0.001131, allocations: 183.1 kB / 18.66 MB, free: 4.445 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.382/1.382, 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.001141/0.001141, allocations: 51.94 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1005, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.2205/0.321, allocations: 10.08 MB / 384.7 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.3264, allocations: 2.808 MB / 387.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.3281, allocations: 65.88 kB / 387.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008245/0.3364, allocations: 4.213 MB / 391.8 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.3405, allocations: 1.041 MB / 392.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.343, allocations: 0.8183 MB / 393.7 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00703/0.35, allocations: 4.291 MB / 398 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01961/0.3697, allocations: 11.01 MB / 409 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.375, allocations: 2.457 MB / 411.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005252/0.3802, allocations: 2.786 MB / 414.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002044/0.3823, allocations: 0.6796 MB / 414.9 MB, free: 7.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.3862, allocations: 0.8943 MB / 415.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002241/0.3885, allocations: 1.321 MB / 417.1 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004861/0.3934, allocations: 2.665 MB / 419.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.404, allocations: 9.08 MB / 428.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.404, allocations: 0 / 428.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.404, allocations: 0 / 428.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002703/0.4043, allocations: 0 / 428.9 MB, free: 9.738 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01773/0.4221, allocations: 5.57 MB / 434.4 MB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.74e-05/0.4221, allocations: 8.031 kB / 434.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002192/0.4244, allocations: 0.6989 MB / 435.1 MB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01458/0.4389, allocations: 2.384 MB / 437.5 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005527/0.4445, allocations: 2.381 MB / 439.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/0.445, allocations: 361.9 kB / 440.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.4467, allocations: 479.9 kB / 440.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/0.462, allocations: 6.647 MB / 447.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001183/0.4621, allocations: 0 / 447.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008028/0.4629, allocations: 204 kB / 447.6 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002269/0.4632, allocations: 230.1 kB / 447.8 MB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01176/0.4749, allocations: 6.114 MB / 453.9 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04056/0.5155, allocations: 22.35 MB / 476.3 MB, free: 9.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.5265, allocations: 10.79 MB / 487 MB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.5279, allocations: 0.811 MB / 487.9 MB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005582/0.5335, allocations: 3.386 MB / 491.2 MB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.5336, allocations: 34.56 kB / 491.3 MB, free: 8.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.5336, allocations: 4 kB / 491.3 MB, free: 8.332 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005946/0.5342, allocations: 231.8 kB / 491.5 MB, free: 8.098 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.5343, allocations: 55.34 kB / 491.6 MB, free: 8.031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003457/0.5377, allocations: 2.133 MB / 493.7 MB, free: 5.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.5378, allocations: 29.7 kB / 493.7 MB, free: 5.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.5394, allocations: 2.382 MB / 496.1 MB, free: 3.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.5395, allocations: 71.75 kB / 496.2 MB, free: 3.367 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008425/0.5403, allocations: 0.5466 MB / 496.7 MB, free: 2.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.5405, allocations: 357.9 kB / 497.1 MB, free: 2.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.5418, allocations: 0.813 MB / 497.9 MB, free: 1.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.5439, allocations: 2.235 MB / 0.4884 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.547, allocations: 2.972 MB / 0.4913 GB, free: 11.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.321e-05/0.5471, allocations: 12 kB / 0.4913 GB, free: 11 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005288/0.5524, allocations: 3.011 MB / 0.4942 GB, free: 7.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.701e-05/0.5525, allocations: 28.97 kB / 0.4943 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.462e-05/0.5526, allocations: 48 kB / 0.4943 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-05/0.5527, allocations: 72 kB / 0.4944 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.5544, allocations: 0.5731 MB / 0.4949 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.781e-05/0.5545, allocations: 99.64 kB / 0.495 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/0.5567, allocations: 396.2 kB / 0.4954 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/0.5569, allocations: 144 kB / 0.4956 GB, free: 6.633 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002641/0.5596, allocations: 1.73 MB / 0.4972 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.5599, allocations: 134.2 kB / 0.4974 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005126/0.5604, allocations: 250.9 kB / 0.4976 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001194/0.5605, allocations: 101.5 kB / 0.4977 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5605, allocations: 0 / 0.4977 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5605, allocations: 0 / 0.4977 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006806/0.5673, allocations: 3.052 MB / 0.5007 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5674, allocations: 32 / 0.5007 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.5675, allocations: 12 kB / 0.5007 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.5675, allocations: 4 kB / 0.5007 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.5675, allocations: 7.938 kB / 0.5007 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5676, allocations: 0 / 0.5007 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.5676, allocations: 4 kB / 0.5007 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006019/0.5682, allocations: 362.3 kB / 0.5011 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000541/0.5687, allocations: 219.6 kB / 0.5013 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.569, allocations: 8 kB / 0.5013 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005752/0.5696, allocations: 23.95 kB / 0.5013 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.5696, allocations: 4 kB / 0.5013 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5696, allocations: 8 kB / 0.5013 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00243/0.5721, allocations: 1.396 MB / 0.5027 GB, free: 15.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.5721, allocations: 0 / 0.5027 GB, free: 15.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003219/0.5753, allocations: 0.9902 MB / 0.5036 GB, free: 14.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001017/0.5763, allocations: 0.9579 MB / 0.5046 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.5789, allocations: 1.466 MB / 0.506 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5789, allocations: 0 / 0.506 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.879e-05/0.579, allocations: 43.92 kB / 0.5061 GB, free: 11.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.5807, allocations: 328.4 kB / 0.5064 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03239/0.6131, allocations: 19.16 MB / 0.5251 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/0.6175, allocations: 3.136 MB / 0.5281 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001944/0.6195, allocations: 0.7905 MB / 0.5289 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/0.6213, allocations: 1.323 MB / 0.5302 GB, free: 1.297 MB / 462.1 MB Notification: Performance of SimCode: time 1.342e-06/0.6214, allocations: 0 / 0.5302 GB, free: 1.297 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2683/0.8897, allocations: 43.39 MB / 0.5726 GB, free: 144.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.12/11.01, allocations: 9.219 kB / 0.5726 GB, free: 144.3 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches