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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 119.3 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 186.9 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 365.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1013, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01211/0.1134, allocations: 9.773 MB / 427.6 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.1193, allocations: 2.701 MB / 430.3 MB, free: 76 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.1206, allocations: 75.75 kB / 430.3 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009627/0.1302, allocations: 4.225 MB / 434.6 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004102/0.1343, allocations: 0.932 MB / 435.5 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.1368, allocations: 0.8135 MB / 436.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005512/0.1423, allocations: 4.069 MB / 440.4 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2355/0.3779, allocations: 8.491 MB / 448.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.3811, allocations: 2.353 MB / 451.2 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004943/0.3861, allocations: 2.661 MB / 453.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00248/0.3886, allocations: 0.664 MB / 454.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.3913, allocations: 0.8764 MB / 455.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.3929, allocations: 1.25 MB / 456.7 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00366/0.3966, allocations: 2.548 MB / 459.2 MB, free: 8.555 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009046/0.4056, allocations: 8.912 MB / 468.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4056, allocations: 0 / 468.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4056, allocations: 1.375 kB / 468.1 MB, free: 6.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002322/0.4059, allocations: 4 kB / 468.1 MB, free: 6.086 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.01246/0.4183, allocations: 5.405 MB / 473.5 MB, free: 2.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4184, allocations: 10.28 kB / 473.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000988/0.4194, allocations: 0.658 MB / 474.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006975/0.4263, allocations: 1.314 MB / 475.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00543/0.4318, allocations: 2.603 MB / 478.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003021/0.4321, allocations: 354.1 kB / 478.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009624/0.433, allocations: 456.3 kB / 478.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.4453, allocations: 6.092 MB / 485 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.4454, allocations: 11.42 kB / 485 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004892/0.4459, allocations: 188.1 kB / 485.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.4461, allocations: 193.8 kB / 485.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4565, allocations: 5.271 MB / 490.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.4924, allocations: 20.8 MB / 0.4995 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006543/0.499, allocations: 5.477 MB / 0.5048 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.5, allocations: 0.6004 MB / 0.5054 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.5001, allocations: 104 kB / 0.5055 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.5002, allocations: 50.27 kB / 0.5056 GB, free: 12.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 2.966e-06/0.5002, allocations: 4 kB / 0.5056 GB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.002366/0.5025, allocations: 1.437 MB / 0.507 GB, free: 11.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.5026, allocations: 60.41 kB / 0.507 GB, free: 11.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.5047, allocations: 1.454 MB / 0.5084 GB, free: 9.668 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.5048, allocations: 45.69 kB / 0.5085 GB, free: 9.617 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.5061, allocations: 2.04 MB / 0.5105 GB, free: 7.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003006/0.5064, allocations: 360.2 kB / 0.5108 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006509/0.5071, allocations: 475.8 kB / 0.5113 GB, free: 6.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5073, allocations: 369.8 kB / 0.5116 GB, free: 6.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.5085, allocations: 0.8085 MB / 0.5124 GB, free: 5.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.5105, allocations: 1.938 MB / 0.5143 GB, free: 3.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0034/0.5139, allocations: 2.919 MB / 0.5172 GB, free: 15.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.158e-05/0.514, allocations: 12 kB / 0.5172 GB, free: 15.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.00418/0.5182, allocations: 2.793 MB / 0.5199 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.5182, allocations: 28.06 kB / 0.5199 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.813e-05/0.5182, allocations: 43.98 kB / 0.52 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.969e-05/0.5183, allocations: 52 kB / 0.52 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.52, allocations: 0.5343 MB / 0.5205 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.716e-05/0.5201, allocations: 78.22 kB / 0.5206 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.5214, allocations: 301.9 kB / 0.5209 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/0.5216, allocations: 127.8 kB / 0.521 GB, free: 12.12 MB / 430.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.002772/0.5243, allocations: 1.664 MB / 0.5226 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.5246, allocations: 138.8 kB / 0.5228 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.5268, allocations: 1.335 MB / 0.5241 GB, free: 8.996 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001366/0.5282, allocations: 0.9279 MB / 0.525 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.5282, allocations: 0 / 0.525 GB, free: 8.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5282, allocations: 8.578 kB / 0.525 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/0.545, allocations: 12.21 MB / 0.5369 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/0.545, allocations: 20 kB / 0.5369 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007116/0.5457, allocations: 214 kB / 0.5371 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.632e-05/0.5458, allocations: 25.88 kB / 0.5372 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.5458, allocations: 44 kB / 0.5372 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/0.5459, allocations: 42.95 kB / 0.5373 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-05/0.5459, allocations: 30.78 kB / 0.5373 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002995/0.5489, allocations: 2.444 MB / 0.5397 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.5495, allocations: 327.9 kB / 0.54 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.5497, allocations: 51.98 kB / 0.54 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.5504, allocations: 63.95 kB / 0.5401 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.5505, allocations: 134.9 kB / 0.5402 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.5506, allocations: 51.98 kB / 0.5403 GB, free: 7.719 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001417/0.552, allocations: 0.9916 MB / 0.5412 GB, free: 6.723 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.552, allocations: 0 / 0.5412 GB, free: 6.723 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002716/0.5547, allocations: 0.9569 MB / 0.5422 GB, free: 5.762 MB / 446.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.003455/0.5582, allocations: 3.104 MB / 0.5452 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.5609, allocations: 1.79 MB / 0.547 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.5609, allocations: 0 / 0.547 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.5617, allocations: 0.5547 MB / 0.5475 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.5637, allocations: 393.5 kB / 0.5479 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/0.5914, allocations: 19.63 MB / 0.567 GB, free: 10.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/0.5946, allocations: 3.075 MB / 0.57 GB, free: 7.551 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001862/0.5965, allocations: 0.8132 MB / 0.5708 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/0.598, allocations: 1.261 MB / 0.5721 GB, free: 5.473 MB / 478.1 MB Notification: Performance of SimCode: time 1.413e-06/0.598, allocations: 0 / 0.5721 GB, free: 5.473 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08212/0.6802, allocations: 43.02 MB / 0.6141 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.81, allocations: 4 kB / 0.6141 GB, free: 10.71 MB / 0.5137 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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.323880537878722]