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.001322/0.001322, allocations: 114 kB / 17.74 MB, free: 5.355 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.001241/0.001241, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.417/1.417, 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.001678/0.001678, allocations: 55.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09343, 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.1756/0.2691, allocations: 10.08 MB / 384.7 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005214/0.2744, allocations: 2.823 MB / 387.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.2756, allocations: 59.56 kB / 387.6 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007835/0.2834, allocations: 4.205 MB / 391.8 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.287, allocations: 1.043 MB / 392.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.2891, allocations: 0.8277 MB / 393.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004577/0.2937, allocations: 4.284 MB / 398 MB, free: 476 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01678/0.3105, allocations: 11 MB / 409 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004325/0.3149, allocations: 2.454 MB / 411.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005328/0.3202, allocations: 2.79 MB / 414.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002206/0.3225, allocations: 0.6797 MB / 414.9 MB, free: 7.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.3262, allocations: 0.8865 MB / 415.8 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002371/0.3286, allocations: 1.321 MB / 417.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00538/0.334, allocations: 2.673 MB / 419.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.3462, allocations: 9.103 MB / 428.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3462, allocations: 0 / 428.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3462, allocations: 0 / 428.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002017/0.3464, allocations: 0 / 428.9 MB, free: 9.727 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.01604/0.3625, allocations: 5.665 MB / 434.5 MB, free: 3.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3625, allocations: 12.03 kB / 434.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002154/0.3647, allocations: 0.6989 MB / 435.3 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01463/0.3794, allocations: 2.406 MB / 437.7 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/0.3853, allocations: 2.384 MB / 440 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.3858, allocations: 369.9 kB / 440.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/0.3879, allocations: 480 kB / 440.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.4091, allocations: 6.636 MB / 447.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002118/0.4093, allocations: 11.94 kB / 447.5 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001493/0.4108, allocations: 204 kB / 447.7 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.4112, allocations: 226.1 kB / 447.9 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/0.4251, allocations: 6.11 MB / 454.1 MB, free: 376 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04038/0.4656, allocations: 22.42 MB / 476.5 MB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01213/0.4778, allocations: 10.79 MB / 487.3 MB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.4792, allocations: 0.811 MB / 488.1 MB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005636/0.4849, allocations: 3.399 MB / 491.5 MB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4849, allocations: 30.56 kB / 491.5 MB, free: 8.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.4849, allocations: 4 kB / 491.5 MB, free: 8.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006136/0.4855, allocations: 240.7 kB / 491.7 MB, free: 7.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.4856, allocations: 55.34 kB / 491.8 MB, free: 7.816 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.4891, allocations: 2.141 MB / 493.9 MB, free: 5.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.4891, allocations: 29.7 kB / 494 MB, free: 5.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001842/0.491, allocations: 2.478 MB / 496.4 MB, free: 3.129 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.4911, allocations: 71.73 kB / 496.5 MB, free: 3.059 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008434/0.4919, allocations: 0.5511 MB / 497.1 MB, free: 2.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.4921, allocations: 357.9 kB / 497.4 MB, free: 2.145 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.4935, allocations: 0.8127 MB / 498.2 MB, free: 1.328 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.496, allocations: 2.235 MB / 0.4887 GB, free: 14.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003544/0.4996, allocations: 2.964 MB / 0.4916 GB, free: 10.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.114e-05/0.4996, allocations: 16 kB / 0.4916 GB, free: 10.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005062/0.5047, allocations: 3.016 MB / 0.4946 GB, free: 7.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.5048, allocations: 25 kB / 0.4946 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.549e-05/0.5048, allocations: 52 kB / 0.4947 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.854e-05/0.5049, allocations: 72 kB / 0.4947 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/0.5068, allocations: 0.577 MB / 0.4953 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001019/0.5069, allocations: 99.58 kB / 0.4954 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002089/0.509, allocations: 409.2 kB / 0.4958 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.5092, allocations: 144.2 kB / 0.4959 GB, free: 6.305 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.003028/0.5123, allocations: 1.734 MB / 0.4976 GB, free: 4.559 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.5126, allocations: 139.1 kB / 0.4977 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.5131, allocations: 243 kB / 0.498 GB, free: 4.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001294/0.5132, allocations: 101.6 kB / 0.4981 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5132, allocations: 4 kB / 0.4981 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5132, allocations: 0 / 0.4981 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006083/0.5193, allocations: 3.049 MB / 0.501 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5194, allocations: 8.031 kB / 0.5011 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5195, allocations: 19.92 kB / 0.5011 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5195, allocations: 0 / 0.5011 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.5195, allocations: 4 kB / 0.5011 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.5195, allocations: 0 / 0.5011 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5195, allocations: 0 / 0.5011 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006181/0.5202, allocations: 375.1 kB / 0.5014 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005416/0.5207, allocations: 228.3 kB / 0.5017 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002778/0.521, allocations: 4 kB / 0.5017 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/0.5216, allocations: 31.95 kB / 0.5017 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.5217, allocations: 4 kB / 0.5017 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.5217, allocations: 0 / 0.5017 GB, free: 268 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.524, allocations: 1.408 MB / 0.5031 GB, free: 14.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.524, allocations: 0 / 0.5031 GB, free: 14.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00316/0.5272, allocations: 1.004 MB / 0.504 GB, free: 13.85 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.001098/0.5283, allocations: 0.9545 MB / 0.505 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.5311, allocations: 1.469 MB / 0.5064 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5311, allocations: 0 / 0.5064 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.5312, allocations: 35.92 kB / 0.5064 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5331, allocations: 340.4 kB / 0.5068 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0329/0.566, allocations: 19.28 MB / 0.5256 GB, free: 6.078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003633/0.5697, allocations: 3.128 MB / 0.5287 GB, free: 2.922 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001845/0.5715, allocations: 0.7944 MB / 0.5294 GB, free: 2.121 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00161/0.5732, allocations: 1.323 MB / 0.5307 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5732, allocations: 0 / 0.5307 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2699/0.8431, allocations: 43.39 MB / 0.5731 GB, free: 150 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.51, allocations: 9.344 kB / 0.5731 GB, free: 150 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 & /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","/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