Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001559/0.001559, allocations: 205.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2737, allocations: 53.4 MB / 431.2 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01128/0.285, allocations: 8.513 MB / 439.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005677/0.2907, allocations: 2.647 MB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.2918, allocations: 95.5 kB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009454/0.3013, allocations: 3.887 MB / 446.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.3046, allocations: 0.7838 MB / 447.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.3071, allocations: 0.9222 MB / 448 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005304/0.3124, allocations: 4.093 MB / 452.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01038/0.3228, allocations: 7.054 MB / 459.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003338/0.3261, allocations: 2.408 MB / 461.6 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004075/0.3302, allocations: 2.55 MB / 464.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.3315, allocations: 0.6641 MB / 464.8 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.3335, allocations: 0.8826 MB / 465.7 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.3346, allocations: 1.247 MB / 466.9 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002255/0.3368, allocations: 1.988 MB / 468.9 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009328/0.3462, allocations: 8.964 MB / 477.9 MB, free: 7.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3462, allocations: 4 kB / 477.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3462, allocations: 0 / 477.9 MB, free: 7.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001745/0.3463, allocations: 0 / 477.9 MB, free: 7.508 MB / 382.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.01338/0.3597, allocations: 5.334 MB / 483.2 MB, free: 2.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3598, allocations: 11.98 kB / 483.2 MB, free: 2.109 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001125/0.3609, allocations: 0.6578 MB / 483.9 MB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007953/0.3688, allocations: 1.321 MB / 485.2 MB, free: 120 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006541/0.3754, allocations: 2.606 MB / 487.8 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/0.3757, allocations: 345.4 kB / 488.1 MB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.3769, allocations: 455.9 kB / 488.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.39, allocations: 6.127 MB / 494.7 MB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.3901, allocations: 3.984 kB / 494.7 MB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005326/0.3907, allocations: 192 kB / 494.9 MB, free: 6.328 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002213/0.3909, allocations: 193.5 kB / 495.1 MB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.4023, allocations: 5.268 MB / 0.4886 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03605/0.4384, allocations: 18.6 MB / 0.5068 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.4437, allocations: 2.07 MB / 0.5088 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.4448, allocations: 0.5962 MB / 0.5094 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.445, allocations: 36.97 kB / 0.5094 GB, free: 10.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.107e-05/0.445, allocations: 51.48 kB / 0.5095 GB, free: 10.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 5.179e-06/0.445, allocations: 3.984 kB / 0.5095 GB, free: 10.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002503/0.4475, allocations: 1.433 MB / 0.5109 GB, free: 9.477 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.4476, allocations: 64.41 kB / 0.5109 GB, free: 9.398 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002546/0.4501, allocations: 1.531 MB / 0.5124 GB, free: 7.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.4502, allocations: 45.7 kB / 0.5125 GB, free: 7.805 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.4518, allocations: 2.041 MB / 0.5145 GB, free: 5.746 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003744/0.4522, allocations: 361.1 kB / 0.5148 GB, free: 5.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000788/0.453, allocations: 479.9 kB / 0.5153 GB, free: 4.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002136/0.4532, allocations: 357.9 kB / 0.5156 GB, free: 4.559 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.4546, allocations: 0.8085 MB / 0.5164 GB, free: 3.746 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/0.4569, allocations: 1.948 MB / 0.5183 GB, free: 1.238 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.4607, allocations: 2.924 MB / 0.5212 GB, free: 13.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-05/0.4608, allocations: 12 kB / 0.5212 GB, free: 13.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004973/0.4657, allocations: 2.805 MB / 0.5239 GB, free: 10.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.4658, allocations: 20 kB / 0.5239 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.467e-05/0.4659, allocations: 40 kB / 0.524 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.466, allocations: 52.81 kB / 0.524 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.4677, allocations: 0.5381 MB / 0.5245 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.745e-05/0.4678, allocations: 83.66 kB / 0.5246 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4693, allocations: 305.9 kB / 0.5249 GB, free: 9.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.4695, allocations: 124 kB / 0.525 GB, free: 9.789 MB / 446.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.002775/0.4723, allocations: 1.671 MB / 0.5267 GB, free: 8.105 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.4726, allocations: 131.1 kB / 0.5268 GB, free: 7.977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/0.475, allocations: 1.342 MB / 0.5281 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00146/0.4764, allocations: 0.9357 MB / 0.529 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4764, allocations: 7.875 kB / 0.529 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4765, allocations: 3.984 kB / 0.529 GB, free: 5.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2363/0.7128, allocations: 11 MB / 0.5398 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.7128, allocations: 19.56 kB / 0.5398 GB, free: 94.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.7135, allocations: 215.3 kB / 0.54 GB, free: 94.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.831e-05/0.7135, allocations: 27.66 kB / 0.54 GB, free: 94.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.108e-05/0.7135, allocations: 43.34 kB / 0.5401 GB, free: 94.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.929e-05/0.7136, allocations: 48.42 kB / 0.5401 GB, free: 94.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.285e-05/0.7136, allocations: 27.41 kB / 0.5401 GB, free: 94.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.7158, allocations: 2.465 MB / 0.5425 GB, free: 93.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.7164, allocations: 256.3 kB / 0.5428 GB, free: 93.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/0.7165, allocations: 43.09 kB / 0.5428 GB, free: 93.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.7172, allocations: 62.34 kB / 0.5429 GB, free: 93.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.7173, allocations: 136.5 kB / 0.543 GB, free: 92.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.809e-05/0.7174, allocations: 57.22 kB / 0.5431 GB, free: 92.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001154/0.7185, allocations: 0.9895 MB / 0.544 GB, free: 92.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7185, allocations: 3.406 kB / 0.544 GB, free: 92.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002142/0.7207, allocations: 0.9561 MB / 0.545 GB, free: 92.46 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.002405/0.7231, allocations: 3.091 MB / 0.548 GB, free: 90.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.7251, allocations: 1.802 MB / 0.5497 GB, free: 89.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.7251, allocations: 3.625 kB / 0.5498 GB, free: 89.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.7257, allocations: 0.5611 MB / 0.5503 GB, free: 89.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.7276, allocations: 381.2 kB / 0.5507 GB, free: 89.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/0.7485, allocations: 19.6 MB / 0.5698 GB, free: 69.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001972/0.7504, allocations: 2.529 MB / 0.5723 GB, free: 67.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001467/0.7519, allocations: 0.8093 MB / 0.5731 GB, free: 66.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.753, allocations: 1.265 MB / 0.5743 GB, free: 65.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.753, allocations: 0 / 0.5743 GB, free: 65.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06876/0.8218, allocations: 43.94 MB / 0.6172 GB, free: 21.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.03, allocations: 11.8 kB / 0.6172 GB, free: 21.48 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 15.665531801991165]