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: 109.1 kB / 21.22 MB, free: 0.6445 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.002339/0.002339, allocations: 210 kB / 24.51 MB, free: 3.941 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.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 7.797 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.002087/0.002087, allocations: 67.89 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2799, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01117/0.2911, allocations: 8.506 MB / 440.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00626/0.2974, allocations: 2.635 MB / 443.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.299, allocations: 91.56 kB / 443.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009156/0.3081, allocations: 3.896 MB / 447 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.3115, allocations: 0.7765 MB / 447.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.3141, allocations: 0.9419 MB / 448.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005563/0.3196, allocations: 4.085 MB / 452.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.3317, allocations: 7.121 MB / 460 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004114/0.3358, allocations: 2.412 MB / 462.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00469/0.3405, allocations: 2.655 MB / 465 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.3424, allocations: 0.6641 MB / 465.7 MB, free: 4.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003363/0.3458, allocations: 0.9021 MB / 466.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002662/0.3484, allocations: 1.247 MB / 467.9 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004595/0.353, allocations: 1.985 MB / 469.8 MB, free: 324 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.366, allocations: 8.964 MB / 478.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.366, allocations: 0 / 478.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.366, allocations: 0 / 478.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003403/0.3664, allocations: 0 / 478.8 MB, free: 7.324 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.01637/0.3827, allocations: 5.331 MB / 484.1 MB, free: 1.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.3828, allocations: 12.03 kB / 484.1 MB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001359/0.3829, allocations: 125.6 kB / 484.3 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001395/0.3843, allocations: 0.6539 MB / 484.9 MB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007902/0.3922, allocations: 1.313 MB / 486.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005357/0.3976, allocations: 2.609 MB / 488.8 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.3979, allocations: 349.4 kB / 489.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001701/0.3996, allocations: 452 kB / 489.6 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.4161, allocations: 6.127 MB / 495.8 MB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.4162, allocations: 4 kB / 495.8 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007185/0.417, allocations: 196 kB / 495.9 MB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/0.4172, allocations: 193.5 kB / 496.1 MB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.4297, allocations: 5.288 MB / 0.4897 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04092/0.4706, allocations: 18.59 MB / 0.5078 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008011/0.4786, allocations: 2.073 MB / 0.5099 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.4801, allocations: 0.6001 MB / 0.5104 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/0.4803, allocations: 36.97 kB / 0.5105 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.4803, allocations: 47.56 kB / 0.5105 GB, free: 10.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 4.799e-06/0.4803, allocations: 0 / 0.5105 GB, free: 10.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.002758/0.4831, allocations: 1.44 MB / 0.5119 GB, free: 9.16 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.4832, allocations: 60.41 kB / 0.512 GB, free: 9.086 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.4854, allocations: 1.462 MB / 0.5134 GB, free: 7.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.717e-05/0.4855, allocations: 37.7 kB / 0.5134 GB, free: 7.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.4872, allocations: 2.049 MB / 0.5154 GB, free: 5.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004832/0.4877, allocations: 361.1 kB / 0.5158 GB, free: 5.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007663/0.4885, allocations: 475.9 kB / 0.5162 GB, free: 4.672 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002193/0.4887, allocations: 357.9 kB / 0.5166 GB, free: 4.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.4899, allocations: 0.8085 MB / 0.5174 GB, free: 3.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.4921, allocations: 1.949 MB / 0.5193 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/0.4959, allocations: 2.931 MB / 0.5221 GB, free: 13.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.589e-05/0.4959, allocations: 12 kB / 0.5222 GB, free: 13.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004754/0.5007, allocations: 2.806 MB / 0.5249 GB, free: 10.69 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.468e-05/0.5007, allocations: 24 kB / 0.5249 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.156e-05/0.5008, allocations: 40 kB / 0.525 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-05/0.5008, allocations: 52 kB / 0.525 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.5025, allocations: 0.5381 MB / 0.5255 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.169e-05/0.5026, allocations: 79.72 kB / 0.5256 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.504, allocations: 302.1 kB / 0.5259 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/0.5042, allocations: 131.9 kB / 0.526 GB, free: 9.535 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.002491/0.5067, allocations: 1.656 MB / 0.5276 GB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.5069, allocations: 143.1 kB / 0.5278 GB, free: 7.727 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.5091, allocations: 1.338 MB / 0.5291 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00133/0.5105, allocations: 0.9357 MB / 0.53 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.5105, allocations: 0 / 0.53 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.5105, allocations: 3.984 kB / 0.53 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2401/0.7506, allocations: 11 MB / 0.5407 GB, free: 95.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.191e-05/0.7506, allocations: 19.75 kB / 0.5408 GB, free: 95.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.7513, allocations: 216 kB / 0.541 GB, free: 95.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/0.7513, allocations: 27.5 kB / 0.541 GB, free: 95.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.7514, allocations: 47.23 kB / 0.541 GB, free: 95.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.166e-05/0.7514, allocations: 39.05 kB / 0.5411 GB, free: 95.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.7514, allocations: 31.45 kB / 0.5411 GB, free: 95.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.7537, allocations: 2.464 MB / 0.5435 GB, free: 93.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005884/0.7543, allocations: 255.7 kB / 0.5438 GB, free: 93.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.7545, allocations: 53.97 kB / 0.5438 GB, free: 93.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.7552, allocations: 60.5 kB / 0.5439 GB, free: 93.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.7553, allocations: 133.2 kB / 0.544 GB, free: 93.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.7554, allocations: 60.94 kB / 0.544 GB, free: 93.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.7565, allocations: 0.987 MB / 0.545 GB, free: 93.31 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7565, allocations: 0 / 0.545 GB, free: 93.31 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002526/0.759, allocations: 0.9552 MB / 0.5459 GB, free: 93.18 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.002627/0.7616, allocations: 3.098 MB / 0.549 GB, free: 91.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.764, allocations: 1.794 MB / 0.5507 GB, free: 90.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-05/0.764, allocations: 3.906 kB / 0.5507 GB, free: 90.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006177/0.7646, allocations: 0.5635 MB / 0.5513 GB, free: 90.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.7667, allocations: 389 kB / 0.5516 GB, free: 89.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.7897, allocations: 19.6 MB / 0.5708 GB, free: 69.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/0.7918, allocations: 2.529 MB / 0.5733 GB, free: 67.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00143/0.7932, allocations: 0.8093 MB / 0.574 GB, free: 66.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00107/0.7943, allocations: 1.261 MB / 0.5753 GB, free: 65.03 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7943, allocations: 0 / 0.5753 GB, free: 65.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06909/0.8634, allocations: 44.78 MB / 0.619 GB, free: 20.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.5, allocations: 8.062 kB / 0.619 GB, free: 20.55 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.41905622498598]