Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 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.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_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.00131/0.00131, allocations: 114.2 kB / 17.06 MB, free: 5.969 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.001231/0.001231, allocations: 197.3 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 47.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2988, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01182/0.3107, allocations: 9.747 MB / 410 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00598/0.3167, allocations: 2.682 MB / 412.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.3182, allocations: 79.75 kB / 412.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009247/0.3275, allocations: 4.182 MB / 416.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004061/0.3316, allocations: 0.9242 MB / 417.9 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.3338, allocations: 0.8038 MB / 418.7 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005143/0.3389, allocations: 4.074 MB / 422.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01455/0.3535, allocations: 10.95 MB / 433.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003803/0.3574, allocations: 2.354 MB / 436 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004293/0.3617, allocations: 2.647 MB / 438.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.3633, allocations: 0.6641 MB / 439.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002333/0.3656, allocations: 0.8826 MB / 440.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001425/0.3671, allocations: 1.231 MB / 441.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003972/0.371, allocations: 2.56 MB / 444 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01073/0.3818, allocations: 8.913 MB / 452.9 MB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.3819, allocations: 4 kB / 452.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3819, allocations: 0 / 452.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002668/0.3821, allocations: 0 / 452.9 MB, free: 3.855 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01599/0.3981, allocations: 5.398 MB / 458.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.3982, allocations: 8.031 kB / 458.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00172/0.3999, allocations: 0.6578 MB / 459 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007863/0.4078, allocations: 1.321 MB / 460.3 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006093/0.4139, allocations: 2.604 MB / 462.9 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004595/0.4144, allocations: 349.4 kB / 463.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.4162, allocations: 456 kB / 463.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.4345, allocations: 6.09 MB / 469.8 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002064/0.4347, allocations: 7.953 kB / 469.8 MB, free: 2.805 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00132/0.4361, allocations: 191.9 kB / 470 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002417/0.4363, allocations: 205.5 kB / 470.2 MB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01276/0.4491, allocations: 5.268 MB / 475.5 MB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.4841, allocations: 20.77 MB / 496.2 MB, free: 7.688 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006736/0.4909, allocations: 5.586 MB / 0.4901 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/0.4919, allocations: 0.6512 MB / 0.4907 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.4921, allocations: 114.1 kB / 0.4908 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4921, allocations: 39.56 kB / 0.4908 GB, free: 0.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 3.387e-06/0.4921, allocations: 0 / 0.4908 GB, free: 0.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.00234/0.4945, allocations: 1.433 MB / 0.4922 GB, free: 15.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.4946, allocations: 60.41 kB / 0.4923 GB, free: 14.99 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002152/0.4967, allocations: 1.466 MB / 0.4937 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.633e-05/0.4968, allocations: 41.7 kB / 0.4938 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.4983, allocations: 2.045 MB / 0.4958 GB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.4987, allocations: 365 kB / 0.4961 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006541/0.4993, allocations: 475.9 kB / 0.4966 GB, free: 10.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.4995, allocations: 353.9 kB / 0.4969 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.5007, allocations: 0.8085 MB / 0.4977 GB, free: 9.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002059/0.5028, allocations: 1.945 MB / 0.4996 GB, free: 6.902 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/0.5062, allocations: 2.927 MB / 0.5025 GB, free: 3.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.207e-05/0.5062, allocations: 15.94 kB / 0.5025 GB, free: 3.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004334/0.5106, allocations: 2.797 MB / 0.5052 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.772e-05/0.5106, allocations: 20 kB / 0.5052 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.066e-05/0.5107, allocations: 40 kB / 0.5053 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-05/0.5108, allocations: 56 kB / 0.5053 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.5124, allocations: 0.5349 MB / 0.5058 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.745e-05/0.5124, allocations: 79.67 kB / 0.5059 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5139, allocations: 298 kB / 0.5062 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.514, allocations: 124 kB / 0.5063 GB, free: 15.47 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (282): * Single equations (assignments): 281 * 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.002684/0.5167, allocations: 1.664 MB / 0.5079 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.517, allocations: 135.1 kB / 0.5081 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.5192, allocations: 1.345 MB / 0.5094 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001294/0.5205, allocations: 0.9279 MB / 0.5103 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5205, allocations: 0 / 0.5103 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5205, allocations: 3.984 kB / 0.5103 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01721/0.5377, allocations: 12.21 MB / 0.5222 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/0.5378, allocations: 20 kB / 0.5222 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007545/0.5386, allocations: 215.5 kB / 0.5224 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.111e-05/0.5386, allocations: 28 kB / 0.5225 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.5387, allocations: 47.92 kB / 0.5225 GB, free: 14.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.182e-05/0.5387, allocations: 35.86 kB / 0.5225 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.559e-05/0.5388, allocations: 31.88 kB / 0.5226 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.5419, allocations: 2.459 MB / 0.525 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/0.5426, allocations: 327.9 kB / 0.5253 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.5427, allocations: 51.91 kB / 0.5253 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.5434, allocations: 59.95 kB / 0.5254 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001758/0.5436, allocations: 127.5 kB / 0.5255 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/0.5437, allocations: 56 kB / 0.5256 GB, free: 10.78 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001568/0.5453, allocations: 0.9916 MB / 0.5265 GB, free: 9.785 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5453, allocations: 3.938 kB / 0.5265 GB, free: 9.781 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002838/0.5482, allocations: 0.9608 MB / 0.5275 GB, free: 8.816 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (98): * Single equations (assignments): 97 * 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.003625/0.5518, allocations: 3.099 MB / 0.5305 GB, free: 5.426 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003051/0.5549, allocations: 1.862 MB / 0.5323 GB, free: 3.566 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/0.5549, allocations: 0 / 0.5323 GB, free: 3.566 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.5557, allocations: 0.5731 MB / 0.5329 GB, free: 2.996 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.5579, allocations: 389.5 kB / 0.5333 GB, free: 2.621 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2129/0.7708, allocations: 19.61 MB / 0.5524 GB, free: 121.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002155/0.773, allocations: 3.073 MB / 0.5554 GB, free: 119.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.7745, allocations: 0.8209 MB / 0.5562 GB, free: 118.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.7755, allocations: 1.257 MB / 0.5574 GB, free: 117 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.7755, allocations: 0 / 0.5574 GB, free: 117 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0633/0.8388, allocations: 42.69 MB / 0.5991 GB, free: 74.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/11.04, allocations: 3.938 kB / 0.5991 GB, free: 74.61 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches