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.001324/0.001324, allocations: 120.1 kB / 18.49 MB, free: 4.59 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.001642/0.001642, allocations: 214.2 kB / 21.45 MB, free: 1.637 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.524/1.524, allocations: 230.4 MB / 254.7 MB, free: 15.06 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.002239/0.002239, allocations: 55.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1246, allocations: 53.37 MB / 427.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.2475/0.3721, allocations: 9.785 MB / 436.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005793/0.3779, allocations: 2.765 MB / 439.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.3799, allocations: 90.78 kB / 439.7 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00868/0.3886, allocations: 4.217 MB / 443.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00422/0.3928, allocations: 0.775 MB / 444.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002629/0.3955, allocations: 0.9666 MB / 445.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006059/0.4015, allocations: 4.065 MB / 449.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01426/0.4158, allocations: 8.502 MB / 458.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005128/0.4209, allocations: 2.4 MB / 460.6 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006032/0.4269, allocations: 2.659 MB / 463.3 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002347/0.4293, allocations: 0.6632 MB / 463.9 MB, free: 8.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.4335, allocations: 0.9013 MB / 464.8 MB, free: 8.398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002603/0.4361, allocations: 1.239 MB / 466.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005831/0.4419, allocations: 2.552 MB / 468.6 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.4548, allocations: 8.939 MB / 477.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.4548, allocations: 4 kB / 477.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4548, allocations: 0 / 477.6 MB, free: 14.22 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.4551, allocations: 0 / 477.6 MB, free: 14.22 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.01677/0.4719, allocations: 5.398 MB / 483 MB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4719, allocations: 8.031 kB / 483 MB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001546/0.4721, allocations: 125.6 kB / 483.1 MB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00165/0.4737, allocations: 0.6578 MB / 483.8 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00837/0.4821, allocations: 1.317 MB / 485.1 MB, free: 6.625 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006122/0.4882, allocations: 2.619 MB / 487.7 MB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/0.4886, allocations: 345.4 kB / 488 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.4901, allocations: 456 kB / 488.5 MB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.5046, allocations: 6.105 MB / 494.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.973e-05/0.5047, allocations: 3.953 kB / 494.6 MB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004782/0.5052, allocations: 192 kB / 494.8 MB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002228/0.5054, allocations: 195.3 kB / 495 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01175/0.5171, allocations: 5.284 MB / 0.4885 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03762/0.5548, allocations: 21.02 MB / 0.5091 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.5621, allocations: 5.492 MB / 0.5144 GB, free: 11.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.5632, allocations: 0.6004 MB / 0.515 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002672/0.5635, allocations: 203.1 kB / 0.5152 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.5635, allocations: 39.56 kB / 0.5152 GB, free: 10.46 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 3.366e-06/0.5635, allocations: 0 / 0.5152 GB, free: 10.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002495/0.566, allocations: 1.444 MB / 0.5167 GB, free: 9.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.566, allocations: 60.41 kB / 0.5167 GB, free: 8.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/0.5685, allocations: 1.462 MB / 0.5181 GB, free: 7.473 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/0.5685, allocations: 41.7 kB / 0.5182 GB, free: 7.426 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001705/0.5702, allocations: 2.045 MB / 0.5202 GB, free: 5.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004242/0.5707, allocations: 361.1 kB / 0.5205 GB, free: 5.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007411/0.5714, allocations: 479.9 kB / 0.521 GB, free: 4.527 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.5716, allocations: 357.9 kB / 0.5213 GB, free: 4.172 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5729, allocations: 0.8046 MB / 0.5221 GB, free: 3.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.5754, allocations: 1.941 MB / 0.524 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.5792, allocations: 2.939 MB / 0.5269 GB, free: 13.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.462e-05/0.5792, allocations: 8 kB / 0.5269 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004543/0.5838, allocations: 2.802 MB / 0.5296 GB, free: 10.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.5838, allocations: 20 kB / 0.5296 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.845e-05/0.5839, allocations: 40 kB / 0.5297 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.403e-05/0.5839, allocations: 52 kB / 0.5297 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/0.5856, allocations: 0.542 MB / 0.5303 GB, free: 9.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.83e-05/0.5857, allocations: 76.19 kB / 0.5303 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.587, allocations: 305.9 kB / 0.5306 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.5872, allocations: 124 kB / 0.5307 GB, free: 9.41 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.002869/0.5901, allocations: 1.668 MB / 0.5324 GB, free: 7.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002934/0.5904, allocations: 135.1 kB / 0.5325 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.5927, allocations: 1.342 MB / 0.5338 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001374/0.5941, allocations: 0.9318 MB / 0.5347 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5941, allocations: 0 / 0.5347 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5941, allocations: 7.922 kB / 0.5347 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/0.6128, allocations: 13.52 MB / 0.5479 GB, free: 6.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.6128, allocations: 23.94 kB / 0.5479 GB, free: 6.828 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.6135, allocations: 211.6 kB / 0.5481 GB, free: 6.621 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-05/0.6135, allocations: 24 kB / 0.5482 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/0.6136, allocations: 47.98 kB / 0.5482 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-05/0.6136, allocations: 40.42 kB / 0.5483 GB, free: 6.512 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-05/0.6137, allocations: 31.88 kB / 0.5483 GB, free: 6.48 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.6169, allocations: 2.455 MB / 0.5507 GB, free: 3.734 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.6175, allocations: 327.9 kB / 0.551 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.6177, allocations: 51.92 kB / 0.551 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.6184, allocations: 64.02 kB / 0.5511 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/0.6186, allocations: 131.4 kB / 0.5512 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.908e-05/0.6186, allocations: 55.98 kB / 0.5513 GB, free: 3.098 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.6202, allocations: 0.9877 MB / 0.5522 GB, free: 2.105 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6202, allocations: 0 / 0.5522 GB, free: 2.105 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00299/0.6232, allocations: 0.9569 MB / 0.5532 GB, free: 1.145 MB / 462.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.003883/0.6271, allocations: 3.105 MB / 0.5562 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003079/0.6301, allocations: 1.791 MB / 0.558 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.6302, allocations: 4 kB / 0.558 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.631, allocations: 0.5557 MB / 0.5585 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002376/0.6334, allocations: 386.5 kB / 0.5589 GB, free: 11.04 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03061/0.664, allocations: 19.6 MB / 0.578 GB, free: 5.637 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/0.6672, allocations: 3.071 MB / 0.581 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001868/0.6691, allocations: 0.8093 MB / 0.5818 GB, free: 1.715 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/0.6708, allocations: 1.257 MB / 0.583 GB, free: 468 kB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6708, allocations: 0 / 0.583 GB, free: 468 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3168/0.9875, allocations: 43.09 MB / 0.6251 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.5, allocations: 9.328 kB / 0.6251 GB, free: 158.9 MB / 0.5137 GB " [Timeout remaining time 648] (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: 14.484791997005232]