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.00065/0.00065, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.0008343/0.0008343, allocations: 176.4 kB / 18.21 MB, free: 5.551 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.272/1.272, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004383/0.0004383, allocations: 12 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09164/0.09209, allocations: 47.57 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009647/0.1018, allocations: 9.311 MB / 338.4 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005289/0.1071, allocations: 2.761 MB / 341.1 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009221/0.1081, allocations: 59.81 kB / 341.2 MB, free: 7.473 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.1092, allocations: 0.595 MB / 341.8 MB, free: 6.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002459/0.1117, allocations: 0.9255 MB / 342.7 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.1133, allocations: 0.76 MB / 343.5 MB, free: 5.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003975/0.1173, allocations: 4.151 MB / 347.6 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01558/0.1329, allocations: 11.15 MB / 358.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002635/0.1355, allocations: 1.712 MB / 360.5 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.138, allocations: 2.065 MB / 362.5 MB, free: 1.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.1384, allocations: 284 kB / 362.8 MB, free: 1.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1395, allocations: 495.8 kB / 363.3 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.1402, allocations: 0.8094 MB / 364.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.1423, allocations: 2.12 MB / 366.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007001/0.1493, allocations: 8.523 MB / 374.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1493, allocations: 0 / 374.8 MB, free: 5.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1493, allocations: 7.938 kB / 374.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001584/0.1495, allocations: 0 / 374.8 MB, free: 5.688 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01089/0.1604, allocations: 4.547 MB / 379.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.1604, allocations: 12.03 kB / 379.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001385/0.1618, allocations: 0.6949 MB / 380 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1668/0.3287, allocations: 2.389 MB / 382.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/0.3336, allocations: 2.372 MB / 384.8 MB, free: 45.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.3339, allocations: 366.6 kB / 385.1 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00126/0.3352, allocations: 475.9 kB / 385.6 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.3473, allocations: 6.663 MB / 392.3 MB, free: 43.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.591e-05/0.3474, allocations: 10.36 kB / 392.3 MB, free: 43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004298/0.3479, allocations: 198.4 kB / 392.5 MB, free: 42.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.3481, allocations: 225.5 kB / 392.7 MB, free: 42.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009905/0.358, allocations: 6.144 MB / 398.8 MB, free: 39.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02813/0.3861, allocations: 22.71 MB / 421.5 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007766/0.3939, allocations: 10.81 MB / 432.4 MB, free: 4.656 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.3951, allocations: 0.8701 MB / 433.2 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004272/0.3994, allocations: 3.507 MB / 436.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3994, allocations: 42.5 kB / 436.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.3994, allocations: 0 / 436.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.000699/0.4001, allocations: 336.4 kB / 437.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.4002, allocations: 59.39 kB / 437.2 MB, free: 15.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003409/0.4036, allocations: 2.133 MB / 439.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.4036, allocations: 25.7 kB / 439.3 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/0.4052, allocations: 2.375 MB / 441.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.4053, allocations: 95.25 kB / 441.8 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/0.4056, allocations: 198.7 kB / 442 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4057, allocations: 357.9 kB / 442.3 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.407, allocations: 0.8441 MB / 443.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002564/0.4096, allocations: 2.278 MB / 445.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.4129, allocations: 3.031 MB / 448.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-05/0.4129, allocations: 16 kB / 448.5 MB, free: 2.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004728/0.4177, allocations: 3.089 MB / 451.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.4177, allocations: 31.98 kB / 451.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.207e-05/0.4178, allocations: 52 kB / 451.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.444e-05/0.4179, allocations: 68.03 kB / 451.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.4195, allocations: 0.5693 MB / 452.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-05/0.4196, allocations: 103.6 kB / 452.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.4215, allocations: 404.2 kB / 452.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/0.4217, allocations: 144 kB / 452.9 MB, free: 14.25 MB / 350.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 (310): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002678/0.4244, allocations: 1.73 MB / 454.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.4248, allocations: 138.2 kB / 454.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.4254, allocations: 318.7 kB / 455.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002017/0.4256, allocations: 157.6 kB / 455.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4256, allocations: 4 kB / 455.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4256, allocations: 0 / 455.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00511/0.4307, allocations: 3.159 MB / 458.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4308, allocations: 0 / 458.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.4309, allocations: 15.98 kB / 458.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.4309, allocations: 3.938 kB / 458.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.4309, allocations: 0 / 458.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.4309, allocations: 4 kB / 458.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4309, allocations: 0 / 458.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.4315, allocations: 498.2 kB / 458.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.4319, allocations: 251.3 kB / 459.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.432, allocations: 8.375 kB / 459.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.4325, allocations: 27.95 kB / 459.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.4326, allocations: 7.984 kB / 459.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.4326, allocations: 0 / 459.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.4344, allocations: 1.411 MB / 460.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4344, allocations: 3.938 kB / 460.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003152/0.4376, allocations: 0.9839 MB / 461.6 MB, free: 5.449 MB / 350.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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001278/0.4389, allocations: 1.083 MB / 462.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.4415, allocations: 1.543 MB / 464.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4415, allocations: 0 / 464.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4416, allocations: 77.59 kB / 464.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.4433, allocations: 309.3 kB / 464.6 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/0.4772, allocations: 22.11 MB / 486.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003846/0.4811, allocations: 3.132 MB / 489.9 MB, free: 7.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002093/0.4832, allocations: 0.7945 MB / 490.7 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/0.4849, allocations: 1.319 MB / 492 MB, free: 5.145 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4849, allocations: 0 / 492 MB, free: 5.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06672/0.5516, allocations: 41.58 MB / 0.5211 GB, free: 11.5 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.5518, allocations: 234.6 kB / 0.5213 GB, free: 11.24 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/2.863, allocations: 4 kB / 0.5213 GB, free: 11.23 MB / 430.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches