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.001332/0.001332, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.0015/0.0015, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.02 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 63.89 kB / 378.6 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2935, allocations: 53.41 MB / 432 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01154/0.305, allocations: 9.799 MB / 441.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006052/0.3111, allocations: 2.779 MB / 444.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.3127, allocations: 91.56 kB / 444.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009433/0.3222, allocations: 4.231 MB / 448.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.3256, allocations: 0.7882 MB / 449.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002655/0.3282, allocations: 0.9765 MB / 450.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005273/0.3335, allocations: 4.089 MB / 454.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.346, allocations: 7.129 MB / 461.9 MB, free: 8.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.3507, allocations: 2.408 MB / 464.3 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005715/0.3564, allocations: 2.663 MB / 466.9 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002228/0.3586, allocations: 0.6602 MB / 467.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.3622, allocations: 0.8982 MB / 468.5 MB, free: 1.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002682/0.3649, allocations: 1.235 MB / 469.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005179/0.3701, allocations: 2.56 MB / 472.3 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01163/0.3817, allocations: 8.929 MB / 481.2 MB, free: 5.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.3817, allocations: 3.984 kB / 481.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.3817, allocations: 4 kB / 481.2 MB, free: 5.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000255/0.382, allocations: 3.938 kB / 481.2 MB, free: 5.164 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.0164/0.3984, allocations: 5.326 MB / 486.6 MB, free: 15.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.358e-05/0.3984, allocations: 8.031 kB / 486.6 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001617/0.3986, allocations: 121.6 kB / 486.7 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002197/0.4008, allocations: 0.6655 MB / 487.4 MB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008605/0.4094, allocations: 1.317 MB / 488.7 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006025/0.4154, allocations: 2.609 MB / 491.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/0.4158, allocations: 345.4 kB / 491.6 MB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/0.4175, allocations: 452 kB / 492.1 MB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01837/0.4359, allocations: 6.102 MB / 498.2 MB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002153/0.4361, allocations: 3.953 kB / 498.2 MB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001676/0.4378, allocations: 196 kB / 498.4 MB, free: 3.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002777/0.4381, allocations: 193.5 kB / 498.5 MB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01349/0.4516, allocations: 5.288 MB / 0.492 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/0.4906, allocations: 20.22 MB / 0.5118 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005447/0.496, allocations: 2.112 MB / 0.5138 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.4971, allocations: 0.5961 MB / 0.5144 GB, free: 6.906 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.4973, allocations: 52.94 kB / 0.5145 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.4974, allocations: 43.5 kB / 0.5145 GB, free: 6.801 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.356e-06/0.4974, allocations: 0 / 0.5145 GB, free: 6.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002677/0.5, allocations: 1.433 MB / 0.5159 GB, free: 5.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.5001, allocations: 60.41 kB / 0.516 GB, free: 5.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/0.503, allocations: 1.466 MB / 0.5174 GB, free: 3.816 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/0.5031, allocations: 41.64 kB / 0.5174 GB, free: 3.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.5048, allocations: 2.057 MB / 0.5194 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004165/0.5052, allocations: 361.1 kB / 0.5198 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009091/0.5061, allocations: 475.9 kB / 0.5202 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.5063, allocations: 361.9 kB / 0.5206 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001419/0.5078, allocations: 0.8046 MB / 0.5214 GB, free: 15.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.51, allocations: 1.941 MB / 0.5233 GB, free: 13.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003846/0.5139, allocations: 2.935 MB / 0.5261 GB, free: 9.715 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-05/0.5139, allocations: 12 kB / 0.5261 GB, free: 9.703 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004991/0.5189, allocations: 2.802 MB / 0.5289 GB, free: 6.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.519, allocations: 24 kB / 0.5289 GB, free: 6.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.79e-05/0.519, allocations: 40 kB / 0.5289 GB, free: 6.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.392e-05/0.5191, allocations: 52 kB / 0.529 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.5209, allocations: 0.5381 MB / 0.5295 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001004/0.521, allocations: 79.72 kB / 0.5296 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.5226, allocations: 302.4 kB / 0.5299 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/0.5228, allocations: 128 kB / 0.53 GB, free: 5.738 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.002687/0.5255, allocations: 1.664 MB / 0.5316 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.5258, allocations: 135.1 kB / 0.5318 GB, free: 3.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/0.5282, allocations: 1.338 MB / 0.5331 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001401/0.5296, allocations: 0.9357 MB / 0.534 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5296, allocations: 0 / 0.534 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.5297, allocations: 7.969 kB / 0.534 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2563/0.7859, allocations: 11.11 MB / 0.5448 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.443e-05/0.786, allocations: 19.75 kB / 0.5448 GB, free: 93.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.7868, allocations: 208.1 kB / 0.545 GB, free: 93.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.557e-05/0.7868, allocations: 27.72 kB / 0.5451 GB, free: 93.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.7869, allocations: 54.36 kB / 0.5451 GB, free: 93.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/0.7869, allocations: 41.62 kB / 0.5452 GB, free: 93.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.501e-05/0.7869, allocations: 31.66 kB / 0.5452 GB, free: 93.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.7894, allocations: 2.468 MB / 0.5476 GB, free: 91.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.7902, allocations: 254.4 kB / 0.5478 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.7906, allocations: 45.66 kB / 0.5479 GB, free: 91.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.7915, allocations: 66.77 kB / 0.548 GB, free: 91.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.7917, allocations: 134.3 kB / 0.5481 GB, free: 91.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/0.7918, allocations: 55.81 kB / 0.5481 GB, free: 91.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.7934, allocations: 0.9869 MB / 0.5491 GB, free: 91.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7934, allocations: 2.344 kB / 0.5491 GB, free: 91.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002942/0.7963, allocations: 0.9567 MB / 0.55 GB, free: 91.28 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.003001/0.7993, allocations: 3.092 MB / 0.5531 GB, free: 89.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.8018, allocations: 1.799 MB / 0.5548 GB, free: 88.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/0.8018, allocations: 8 kB / 0.5548 GB, free: 88.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.8025, allocations: 0.5583 MB / 0.5554 GB, free: 88.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.8048, allocations: 383.9 kB / 0.5557 GB, free: 87.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/0.832, allocations: 19.6 MB / 0.5749 GB, free: 66.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003656/0.8356, allocations: 3.071 MB / 0.5779 GB, free: 63.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001582/0.8372, allocations: 0.8054 MB / 0.5787 GB, free: 62.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/0.8387, allocations: 1.269 MB / 0.5799 GB, free: 61.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.8387, allocations: 0 / 0.5799 GB, free: 61.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08584/0.9245, allocations: 45.05 MB / 0.6239 GB, free: 16.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.69, allocations: 10.19 kB / 0.6239 GB, free: 16.6 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.49733255803585]