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.001033/0.001033, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.00109/0.00109, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.322/1.322, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001177/0.001177, allocations: 52.14 kB / 280.8 MB, free: 3.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08423, allocations: 46.62 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01025/0.09452, allocations: 10.09 MB / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.09989, allocations: 2.807 MB / 340.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009389/0.1009, allocations: 63.81 kB / 340.3 MB, free: 7.352 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008385/0.1093, allocations: 4.212 MB / 344.5 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00327/0.1126, allocations: 1.033 MB / 345.6 MB, free: 2.082 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.1145, allocations: 0.8375 MB / 346.4 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004231/0.1187, allocations: 4.253 MB / 350.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0128/0.1315, allocations: 11.04 MB / 361.7 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.1348, allocations: 2.451 MB / 364.2 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003749/0.1386, allocations: 2.788 MB / 366.9 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.1396, allocations: 0.6758 MB / 367.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.1413, allocations: 0.8865 MB / 368.5 MB, free: 11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.1423, allocations: 1.325 MB / 369.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.1449, allocations: 2.673 MB / 372.5 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1565/0.3015, allocations: 9.015 MB / 381.5 MB, free: 29.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.3015, allocations: 1.375 kB / 381.5 MB, free: 29.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3015, allocations: 0 / 381.5 MB, free: 29.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002303/0.3018, allocations: 0 / 381.5 MB, free: 29.93 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.01521/0.317, allocations: 5.573 MB / 387.1 MB, free: 28.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.317, allocations: 9.094 kB / 387.1 MB, free: 28.44 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001276/0.3183, allocations: 0.696 MB / 387.8 MB, free: 28.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0135/0.3318, allocations: 2.394 MB / 390.2 MB, free: 28.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.3367, allocations: 2.366 MB / 392.6 MB, free: 27.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.337, allocations: 370.3 kB / 392.9 MB, free: 27.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001111/0.3382, allocations: 483 kB / 393.4 MB, free: 27.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.3487, allocations: 6.637 MB / 400 MB, free: 24.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.691e-05/0.3488, allocations: 0 / 400 MB, free: 24.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004416/0.3492, allocations: 204.4 kB / 400.2 MB, free: 24.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.3494, allocations: 232.5 kB / 400.5 MB, free: 24.04 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008808/0.3582, allocations: 6.113 MB / 406.6 MB, free: 20.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02733/0.3855, allocations: 22.65 MB / 429.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01075/0.3964, allocations: 10.78 MB / 440 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.3977, allocations: 0.8227 MB / 440.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005153/0.4029, allocations: 3.393 MB / 444.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.4029, allocations: 33.28 kB / 444.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.904e-06/0.4029, allocations: 0 / 444.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000531/0.4035, allocations: 236.1 kB / 444.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.4035, allocations: 51.41 kB / 444.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.4065, allocations: 2.143 MB / 446.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.4065, allocations: 29.7 kB / 446.7 MB, free: 11.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.4079, allocations: 2.382 MB / 449.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/0.4079, allocations: 71.59 kB / 449.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006678/0.4086, allocations: 0.5506 MB / 449.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.4088, allocations: 351.6 kB / 450 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.4099, allocations: 0.8127 MB / 450.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.4118, allocations: 2.24 MB / 453.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.415, allocations: 2.961 MB / 456.1 MB, free: 452 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.22e-05/0.4151, allocations: 16 kB / 456.1 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.005032/0.4201, allocations: 3.011 MB / 459.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.4202, allocations: 27.98 kB / 459.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.181e-05/0.4203, allocations: 52 kB / 459.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.298e-05/0.4204, allocations: 68 kB / 459.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.422, allocations: 0.5662 MB / 459.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.613e-05/0.4221, allocations: 98.17 kB / 459.9 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.4241, allocations: 404.6 kB / 460.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.4243, allocations: 148 kB / 460.4 MB, free: 12.43 MB / 366.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.0029/0.4272, allocations: 1.73 MB / 462.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.4275, allocations: 130.3 kB / 462.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/0.4279, allocations: 249 kB / 462.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/0.428, allocations: 93.67 kB / 462.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.428, allocations: 0 / 462.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.428, allocations: 7.922 kB / 462.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/0.433, allocations: 3.046 MB / 465.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.433, allocations: 7.938 kB / 465.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.4331, allocations: 8 kB / 465.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.4331, allocations: 3.938 kB / 465.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4331, allocations: 8.031 kB / 465.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4331, allocations: 0 / 465.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4331, allocations: 3.75 kB / 465.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.4336, allocations: 372.2 kB / 466.1 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.434, allocations: 219.4 kB / 466.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.4342, allocations: 4 kB / 466.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.4346, allocations: 28.02 kB / 466.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.4347, allocations: 8 kB / 466.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4347, allocations: 0 / 466.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.4365, allocations: 1.404 MB / 467.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4365, allocations: 0 / 467.7 MB, free: 5.082 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002654/0.4392, allocations: 0.9863 MB / 468.7 MB, free: 4.09 MB / 366.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.0008401/0.44, allocations: 0.9625 MB / 469.7 MB, free: 3.105 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002132/0.4421, allocations: 1.461 MB / 471.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4422, allocations: 0 / 471.1 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.078e-05/0.4422, allocations: 48.05 kB / 471.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.4438, allocations: 326.7 kB / 471.5 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/0.4695, allocations: 19.97 MB / 491.5 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003065/0.4726, allocations: 3.136 MB / 494.6 MB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002043/0.4747, allocations: 0.7866 MB / 495.4 MB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00149/0.4762, allocations: 1.323 MB / 496.7 MB, free: 6.402 MB / 398.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4762, allocations: 0 / 496.7 MB, free: 6.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07072/0.5469, allocations: 41.98 MB / 0.5261 GB, free: 12.36 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.552, allocations: 7.938 kB / 0.5261 GB, free: 12.35 MB / 446.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