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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 119.7 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 207.3 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 207.6 MB / 232.5 MB, free: 3.941 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 48.56 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09286, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01174/0.1046, allocations: 10.14 MB / 402.3 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006723/0.1113, allocations: 2.826 MB / 405.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.1131, allocations: 75.62 kB / 405.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009579/0.1227, allocations: 4.24 MB / 409.4 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.1261, allocations: 0.8856 MB / 410.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.1286, allocations: 0.9775 MB / 411.3 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005341/0.134, allocations: 4.288 MB / 415.5 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.1463, allocations: 8.533 MB / 424.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003372/0.1497, allocations: 2.498 MB / 426.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/0.1537, allocations: 2.795 MB / 429.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.1548, allocations: 0.6835 MB / 430.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00177/0.1566, allocations: 0.8904 MB / 430.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001219/0.1578, allocations: 1.317 MB / 432.3 MB, free: 332 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003771/0.1616, allocations: 2.673 MB / 434.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.1716, allocations: 9.104 MB / 444 MB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1716, allocations: 0 / 444 MB, free: 4.508 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1716, allocations: 0 / 444 MB, free: 4.508 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001858/0.1718, allocations: 0 / 444 MB, free: 4.508 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01423/0.186, allocations: 5.677 MB / 449.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1861, allocations: 8.031 kB / 449.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001396/0.1862, allocations: 130.1 kB / 449.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001262/0.1875, allocations: 0.6949 MB / 450.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01369/0.2012, allocations: 2.406 MB / 453 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/0.206, allocations: 2.389 MB / 455.3 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004097/0.2064, allocations: 365.9 kB / 455.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001506/0.2079, allocations: 480 kB / 456.2 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0167/0.2246, allocations: 6.636 MB / 462.8 MB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.2248, allocations: 7.953 kB / 462.8 MB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.226, allocations: 200 kB / 463 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002943/0.2263, allocations: 234 kB / 463.2 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.181/0.4073, allocations: 6.114 MB / 469.3 MB, free: 58.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02665/0.434, allocations: 22.42 MB / 491.8 MB, free: 43.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/0.4411, allocations: 10.68 MB / 0.4907 GB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/0.4422, allocations: 0.7367 MB / 0.4914 GB, free: 32.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003864/0.446, allocations: 3.396 MB / 0.4947 GB, free: 28.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.446, allocations: 38.56 kB / 0.4947 GB, free: 28.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.446, allocations: 2.531 kB / 0.4947 GB, free: 28.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003843/0.4464, allocations: 234.7 kB / 0.495 GB, free: 28.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.4465, allocations: 51.41 kB / 0.495 GB, free: 28.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.4485, allocations: 2.14 MB / 0.4971 GB, free: 26.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.4486, allocations: 25.7 kB / 0.4971 GB, free: 26.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007931/0.4493, allocations: 2.477 MB / 0.4996 GB, free: 24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.4494, allocations: 75.73 kB / 0.4996 GB, free: 23.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000557/0.45, allocations: 0.5511 MB / 0.5002 GB, free: 23.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.444e-05/0.45, allocations: 361.9 kB / 0.5005 GB, free: 23.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008498/0.4509, allocations: 0.8089 MB / 0.5013 GB, free: 22.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.4522, allocations: 2.237 MB / 0.5035 GB, free: 19.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.4542, allocations: 2.96 MB / 0.5064 GB, free: 15.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.765e-05/0.4542, allocations: 17.53 kB / 0.5064 GB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.003395/0.4576, allocations: 3.029 MB / 0.5093 GB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.4576, allocations: 32.06 kB / 0.5094 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/0.4577, allocations: 48 kB / 0.5094 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.297e-05/0.4577, allocations: 68 kB / 0.5095 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/0.4591, allocations: 0.5654 MB / 0.51 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.765e-05/0.4591, allocations: 99.59 kB / 0.5101 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4608, allocations: 406 kB / 0.5105 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.4609, allocations: 152.2 kB / 0.5107 GB, free: 11.2 MB / 382.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.001784/0.4627, allocations: 1.73 MB / 0.5124 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.4628, allocations: 139.1 kB / 0.5125 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000336/0.4632, allocations: 246.9 kB / 0.5127 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.57e-05/0.4633, allocations: 85.69 kB / 0.5128 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.4633, allocations: 12.64 kB / 0.5128 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4633, allocations: 0 / 0.5128 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.4666, allocations: 3.056 MB / 0.5158 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4666, allocations: 0 / 0.5158 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.308e-05/0.4667, allocations: 10.62 kB / 0.5158 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4667, allocations: 4 kB / 0.5158 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.4667, allocations: 7.922 kB / 0.5158 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4667, allocations: 0 / 0.5158 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4667, allocations: 3.984 kB / 0.5158 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.4671, allocations: 387 kB / 0.5162 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.4673, allocations: 220.3 kB / 0.5164 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.4674, allocations: 7.984 kB / 0.5164 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.4679, allocations: 19.97 kB / 0.5164 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.4679, allocations: 11.92 kB / 0.5164 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.4679, allocations: 4 kB / 0.5164 GB, free: 5.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001511/0.4694, allocations: 1.396 MB / 0.5178 GB, free: 3.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4694, allocations: 0 / 0.5178 GB, free: 3.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002425/0.4718, allocations: 1.011 MB / 0.5188 GB, free: 2.75 MB / 382.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.0006592/0.4725, allocations: 0.9423 MB / 0.5197 GB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.4742, allocations: 1.395 MB / 0.5211 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4742, allocations: 0 / 0.5211 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.46e-05/0.4743, allocations: 31.98 kB / 0.5211 GB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.4758, allocations: 339.8 kB / 0.5214 GB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/0.5072, allocations: 19.29 MB / 0.5403 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003319/0.5105, allocations: 3.124 MB / 0.5433 GB, free: 7.938 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001899/0.5124, allocations: 0.7984 MB / 0.5441 GB, free: 7.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/0.5141, allocations: 1.327 MB / 0.5454 GB, free: 5.805 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.5141, allocations: 0 / 0.5454 GB, free: 5.805 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07814/0.5923, allocations: 43.62 MB / 0.588 GB, free: 10.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.18, allocations: 12 kB / 0.588 GB, free: 10.05 MB / 462.1 MB " [Timeout remaining time 649] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.96691961796023]